trackler 2.0.5.6 → 2.0.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 838fe7957432a1754b9feb3301d62ea08e130958
4
- data.tar.gz: 3e4a657d880d96c9d725777036fb135e8cc41024
3
+ metadata.gz: 1670d4b0f4e9733c78b72f304ee7f444006f3893
4
+ data.tar.gz: b9c57626d8be12e5ee6a595de9102d227bef8932
5
5
  SHA512:
6
- metadata.gz: 3ee120f448ed1307b7ed74945776f1e4e9d771bbbc435e6de07f08e253b30595ba534bbac2e483bb80e9539aba1d0d7085c22c125c0313e6f6e9539e9864d7ca
7
- data.tar.gz: 459c7b9d7a799eafe0dab3f210000160346fb953ea6bff098148581788d1c3ceac4842710086b8b1700840b46c2d9437e132e267ffa064d15401ca7a9e7ec129
6
+ metadata.gz: 28f6717d05cb7a26a951c4eeec5ed377eebacb92648a9ce97ce7c8887b0b4c2f5aed141b7f807bd80e718089d467399b7a894848dbedca67b7860e781aa48295
7
+ data.tar.gz: d6781601a6a2fa0a822f4dbd02870c3607a25e75d38f1af23f78b588af22d8c46aec21328332067dbd54d08d7e4151c50b715a32e8708203f311282247752962
@@ -8,7 +8,7 @@
8
8
 
9
9
  - 28's factors are 1, 2, 4, **7**, 14, 28.
10
10
  - In raindrop-speak, this would be a simple "Plong".
11
- - 30's factors are 1, 2, **3**, **5**, 6, 15, 30.
11
+ - 30's factors are 1, 2, **3**, **5**, 6, 10, 15, 30.
12
12
  - In raindrop-speak, this would be a "PlingPlang".
13
13
  - 34 has four factors: 1, 2, 17, and 34.
14
14
  - In raindrop-speak, this would be "34".
@@ -1,3 +1,3 @@
1
1
  module Trackler
2
- VERSION = "2.0.5.6"
2
+ VERSION = "2.0.5.7"
3
3
  end
@@ -0,0 +1,5 @@
1
+ ## Hints
2
+ For this exercise the following F# feature comes in handy:
3
+ - [Sequences](https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/sequences) are evaluated lazily. They allows you to work with an infinite sequence of values.
4
+
5
+ Note: to help speedup calculation, you should not check numbers which you know beforehand will never be prime. For more information, see the [Sieve of Eratosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes).
@@ -27,7 +27,7 @@ Open an administrative command prompt. (If you need assistance opening an admin
27
27
  ```batchfile
28
28
  C:\Windows\system32> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
29
29
  ```
30
- - Install the JDK:
30
+ 2. Install the JDK:
31
31
 
32
32
  ```batchfile
33
33
  C:\Windows\system32> choco install jdk8
@@ -35,7 +35,7 @@ Open an administrative command prompt. (If you need assistance opening an admin
35
35
  C:\Windows\system32> refreshenv
36
36
  ...
37
37
  ```
38
- - Install Gradle:
38
+ 3. Install Gradle:
39
39
 
40
40
  ```batchfile
41
41
  C:\Windows\system32>choco install gradle
@@ -61,17 +61,17 @@ Below are instructions for install using the most common method - using Homebrew
61
61
  ```sh
62
62
  $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
63
63
  ```
64
- - Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
64
+ 2. Tap the [Homebrew Cask](https://caskroom.github.io/) — this allows us to install pre-built binaries like the JDK.
65
65
 
66
66
  ```
67
67
  $ brew tap caskroom/cask
68
68
  ```
69
- - Install the JDK:
69
+ 3. Install the JDK:
70
70
 
71
71
  ```
72
72
  $ brew cask install java
73
73
  ```
74
- - Install Gradle:
74
+ 4. Install Gradle:
75
75
 
76
76
  ```
77
77
  $ brew install gradle
@@ -106,7 +106,7 @@ If you are using Debian or its derivatives (like Ubuntu or Linux Mint), use APT:
106
106
  $ sudo apt-get install oracle-java8-installer
107
107
  $ sudo apt install oracle-java8-set-default
108
108
  ```
109
- - Install Gradle:
109
+ 2. Install Gradle:
110
110
 
111
111
  ```sh
112
112
  $ sudo add-apt-repository ppa:cwchien/gradle
@@ -131,7 +131,7 @@ If you are using Fedora or its derivatives, use DNF:
131
131
  ```sh
132
132
  $ sudo dnf install java-1.8.0-openjdk-devel
133
133
  ```
134
- - Install Gradle:
134
+ 2. Install Gradle:
135
135
 
136
136
  ```sh
137
137
  $ sudo dnf install gradle
@@ -159,7 +159,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
159
159
  1. Install the JDK:
160
160
  1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
161
161
  - Run the installer, using all the defaults.
162
- - Install Gradle:
162
+ 2. Install Gradle:
163
163
  - Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
164
164
  - Unzip the archive. We recommend a place like `C:\Users\JohnDoe\Tools`.
165
165
  - Add a new system environment variable named `GRADLE_HOME` and set it to the path you just created (e.g. `C:\Users\JohnDoe\Tools\gradle-x.y`).
@@ -178,10 +178,10 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
178
178
 
179
179
  1. Install the JDK:
180
180
  1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
181
- - Run the installer, using all the defaults.
182
- - Install Gradle:
183
- - Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
184
- - Unpack Gradle:
181
+ 2. Run the installer, using all the defaults.
182
+ 2. Install Gradle:
183
+ 1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
184
+ 2. Unpack Gradle:
185
185
 
186
186
  ```sh
187
187
  $ mkdir ~/tools
@@ -189,7 +189,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
189
189
  $ unzip ~/Downloads/gradle-*-bin.zip
190
190
  $ cd gradle*
191
191
  ```
192
- - Configure Gradle and add it to the path:
192
+ 3. Configure Gradle and add it to the path:
193
193
 
194
194
  ```sh
195
195
  $ cat << DONE >> ~/.bashrc
@@ -211,10 +211,10 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
211
211
 
212
212
  1. Install the JDK:
213
213
  1. Download "**Java Platform (JDK)**" from [Oracle OTN](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
214
- - Run the installer, using all the defaults.
215
- - Install Gradle:
216
- - Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
217
- - Unpack Gradle:
214
+ 2. Run the installer, using all the defaults.
215
+ 2. Install Gradle:
216
+ 1. Download "**Binary only distribution**" from the [Gradle download page](https://gradle.org/gradle-download/).
217
+ 2. Unpack Gradle:
218
218
 
219
219
  ```sh
220
220
  $ mkdir ~/tools
@@ -222,7 +222,7 @@ To get started, see "[Running the Tests](http://exercism.io/languages/java/tests
222
222
  $ unzip ~/Downloads/gradle-*-bin.zip
223
223
  $ cd gradle*
224
224
  ```
225
- - Configure Gradle and add it to the path:
225
+ 3. Configure Gradle and add it to the path:
226
226
 
227
227
  ```sh
228
228
  $ cat << DONE >> ~/.bashrc
@@ -11,7 +11,7 @@ Choose your operating system:
11
11
  # Windows
12
12
 
13
13
  1. Open a Command Prompt.
14
- - Get the first exercise:
14
+ 2. Get the first exercise:
15
15
 
16
16
  ```batchfile
17
17
  C:\Users\JohnDoe>exercism fetch java
@@ -25,19 +25,19 @@ Choose your operating system:
25
25
  unchanged: 0, updated: 0, new: 1
26
26
 
27
27
  ```
28
- - Change directory into the exercism:
28
+ 3. Change directory into the exercism:
29
29
 
30
30
  ```batchfile
31
31
  C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\java\hello-world
32
32
  ```
33
33
 
34
- - Run the tests:
34
+ 4. Run the tests:
35
35
 
36
36
  ```batchfile
37
37
  C:\Users\JohnDoe>gradle test
38
38
  ```
39
39
  *(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
40
- - Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
40
+ 5. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
41
41
 
42
42
 
43
43
  Good luck! Have fun!
@@ -59,18 +59,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
59
59
  unchanged: 0, updated: 0, new: 1
60
60
 
61
61
  ```
62
- - Change directory into the exercise:
62
+ 2. Change directory into the exercise:
63
63
 
64
64
  ```
65
65
  $ cd /Users/johndoe/exercism/java/hello-world
66
66
  ```
67
- - Run the tests:
67
+ 3. Run the tests:
68
68
 
69
69
  ```
70
70
  $ gradle test
71
71
  ```
72
72
  *(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
73
- - Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
73
+ 4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
74
74
 
75
75
  Good luck! Have fun!
76
76
 
@@ -91,18 +91,18 @@ If you get stuck, at any point, don't forget to reach out for [help](http://exer
91
91
  unchanged: 0, updated: 0, new: 1
92
92
 
93
93
  ```
94
- - Change directory into the exercise:
94
+ 2. Change directory into the exercise:
95
95
 
96
96
  ```
97
97
  $ cd /home/johndoe/exercism/java/hello-world
98
98
  ```
99
- - Run the tests:
99
+ 3. Run the tests:
100
100
 
101
101
  ```
102
102
  $ gradle test
103
103
  ```
104
104
  *(Don't worry about the tests failing, at first, this is how you begin each exercise.)*
105
- - Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
105
+ 4. Solve the exercise. Find and work through the `GETTING_STARTED.md` guide ([view on GitHub](https://github.com/exercism/xjava/blob/master/exercises/hello-world/GETTING_STARTED.md)).
106
106
 
107
107
  Good luck! Have fun!
108
108
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5.6
4
+ version: 2.0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -2498,6 +2498,7 @@ files:
2498
2498
  - tracks/fsharp/exercises/minesweeper/Example.fs
2499
2499
  - tracks/fsharp/exercises/minesweeper/MinesweeperTest.fs
2500
2500
  - tracks/fsharp/exercises/nth-prime/Example.fs
2501
+ - tracks/fsharp/exercises/nth-prime/HINTS.md
2501
2502
  - tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
2502
2503
  - tracks/fsharp/exercises/nucleotide-count/Example.fs
2503
2504
  - tracks/fsharp/exercises/nucleotide-count/NucleotideCountTest.fs