Commit Graph

10 Commits

Author SHA1 Message Date
Manlio Perillo f6c3e4edc4 rivendell: Remove the resetLine function
This was necessary in the past (commit 30db9d, 2023-04-17).

The new Progress.zig and, probably, the fact that exercises run on a
separate executable solved the problem.
2026-07-02 15:07:51 +02:00
Chris Boesch 6e34e835e0 Merge branch 'main' into make-threading-mathier 2026-06-30 00:09:19 +02:00
Nicole Patricia Mazzuca a03b676bed Fix count to actually _be_ a count
Also, start from 1 in the positive direction, instead of 5, since that
is more how the thing works (sorry, mathematician brain).

Additionally, adds some extra information in the comments:
information about how long the code would take if one actually sets
count to 2,5 * 10^12, and adding a plus in front of the 4/1 to show that
that is in fact the first element of the "plus" side.

Finally, add an (floating point) error to the debug print.
2026-06-29 23:30:22 +02:00
it3x 98b831aec4 Refresh 005_arrays2 exercise
Updated the exercise to use SIMD. This allows us to
cross-reference the concept from 112_vectors back to 005_arrays2,
introducing a handy feature of vectors early on.

See #430
2026-06-29 18:48:05 +02:00
Chris Boesch 951351aa2e added absolute path to exercises, also for tests 2026-06-29 18:30:49 +02:00
Manlio Perillo 4f5a26345f Update color setup using new IO/Terminal API
The new API add support for NO_COLOR and CLICOLOR_FORCE.

Move color variables to a namespace.

Add a message in case colors are not available un unix systems.

Add a message in case on Windows colors are available (on old versions).
2026-06-28 15:29:48 +02:00
Chris Boesch fe465a466e added absolute path to exercises 2026-06-26 12:29:25 +02:00
Chris Boesch e928d2c7b1 skipped #5 until a better solution is found 2026-06-22 17:45:35 +02:00
Manlio Perillo 72a441a6bd Improve command line style
Parse the command line following the code from the Zig compiler cli.

Use the args iterator instead of slice, and use while instead of for
loop.

Use the new std.mem.cutPrefix instead of the custom function prefix.

Move Context struct to the top.
2026-06-06 17:39:42 +02:00
Chris Boesch 01ad296114 Elrond has moved to Rivendell (where he lives) 2026-06-02 20:17:48 +02:00