Commit Graph

1454 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 a5ed7b636b Merge pull request 'added explanation about stdout' (#487) from i481-stdout-explanation into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/487
2026-07-01 16:32:38 +02:00
Chris Boesch ba99eea43b created also new patch file 2026-07-01 16:28:04 +02:00
Chris Boesch 708436c63d added explanation about stdout 2026-07-01 16:20:41 +02:00
Chris Boesch e65b359055 Merge pull request 'Added comment to help run exercize 108_threading2.zig with the ReleaseFast flag.' (#482) from atici/ziglings-exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/482
2026-07-01 16:11:19 +02:00
atici 719f7f0740 removed weird characters 2026-07-01 16:29:20 +03:00
atici 9a1ff49206 Added comment to help run exercize 108 with the ReleaseFast flag. 2026-06-30 11:33:03 +02:00
Chris Boesch 89fe65c158 Merge pull request 'Fix count to actually _be_ a count' (#458) from strega-nil/ziglings-exercises:make-threading-mathier into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/458
2026-06-30 00:25:04 +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
Chris Boesch 151db7bcd4 Merge pull request 'Remove prefilled solution' (#485) from it3x/remove-solution into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/485
2026-06-29 20:30:13 +02:00
it3x b39f223b8c Fix patch for 109_files 2026-06-29 17:14:05 +00:00
it3x e932615712 Remove prefilled solution
See #478
2026-06-29 17:09:23 +00: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 f69c79bcb6 Merge pull request 'added absolute path to exercises, also for tests' (#484) from root_path into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/484
2026-06-29 18:38:40 +02:00
Chris Boesch 951351aa2e added absolute path to exercises, also for tests 2026-06-29 18:30:49 +02:00
Chris Boesch e1bf750b03 Merge pull request 'fix typo in CONTRIBUTING.md (License)' (#477) from morerunes/ziglings-exercises:feature/fix-contributing-typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/477
2026-06-29 15:15:02 +02:00
Chris Boesch 7e2cf64ae8 Merge pull request 'Update color setup using new IO/Terminal API' (#483) from manliop/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/483
2026-06-29 11:47:09 +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
Aster Echols 4f240aaefa fix typo in CONTRIBUTING.md (License) 2026-06-26 23:27:20 -04:00
Chris Boesch d093f37e1e Merge pull request 'Fix misleading comments' (#476) from it3x/fix-threads-comment into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/476
2026-06-26 16:41:49 +02:00
it3x fdf47e3b8c Fix misleading comments
See #450
2026-06-26 12:14:02 +00:00
Chris Boesch 12c8511412 Merge pull request 'fix typo: field_types is a slice of strings -> field_types is a slice of types' (#473) from omihirofumi/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/473
2026-06-26 12:45:34 +02:00
Chris Boesch e55204d342 Merge pull request 'added absolute path to exercises' (#475) from root_path into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/475
2026-06-26 12:40:52 +02:00
Chris Boesch fe465a466e added absolute path to exercises 2026-06-26 12:29:25 +02:00
omihirofumi f6514ebb13 fix comment field_types is a slice of (strings -> types) 2026-06-25 12:26:17 +09:00
Chris Boesch 529b294cc3 Merge pull request 'skipped #5 until a better solution is found' (#472) from minor-fixes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/472
2026-06-22 17:54:36 +02:00
Chris Boesch e928d2c7b1 skipped #5 until a better solution is found 2026-06-22 17:45:35 +02:00
Chris Boesch a463aafb91 Merge pull request '107: change comment "brackets" -> "braces"' (#471) from xiaolizhi/exercises:text-fix1 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/471
2026-06-21 22:45:37 +02:00
xiaolizhi 11868112c5 107: change comment "brackets" -> "braces"
Signed-off-by: xiaolizhi <vogelwanderung@pm.me>
2026-06-21 21:22:12 +02:00
Chris Boesch d52661fd39 Merge pull request 'fix style mismatch on 065_builtins2.zig' (#469) from garipew/exercises:fix_typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/469
2026-06-21 17:51:03 +02:00
Chris Boesch fe1c9fb9bd Merge branch 'main' into fix_typo 2026-06-21 17:29:19 +02:00
Gabriel Sa 935d268280 fix style mismatch on patches/065_builtins2.zig
Rename `fetchTheMostBeautifulType` to `FetchTheMostBeautifulType` to
follow Zig's standard naming practice.
2026-06-21 11:58:29 -03:00
Chris Boesch 151450cc7d Merge pull request 'minor fixes' (#470) from minor-fixes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/470
2026-06-21 16:48:15 +02:00
Chris Boesch cbcb570248 expanded explanation about self vs *self 2026-06-21 16:16:31 +02:00
Chris Boesch f3df08d8e0 fixed description 2026-06-21 15:43:28 +02:00
Chris Boesch 1ad3534e4d fixed grammar 2026-06-21 15:31:18 +02:00
Chris Boesch 894ebf1a37 Merge pull request 'Use significand terminology' (#465) from FilipKubis/ziglings:significand-consistent-naming into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/465
2026-06-21 14:24:14 +02:00
Chris Boesch 50d699df57 Merge pull request 'fix typos in CONTRIBUTING.md' (#461) from tariq/exercises:fix-typo-contributing-md into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/461
2026-06-21 13:42:56 +02:00
Chris Boesch 272ab59937 Merge pull request 'Fixed a couple of exercise references as they are no longer accurate after the recent changes' (#457) from killyosaur/zigling-exercises:fixing-exercise-references into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/457
2026-06-21 13:12:01 +02:00
Chris Boesch bfd3d013e0 Merge pull request 'Fixed typo: "you will wish" -> "you wish"' (#455) from xaviii/exercises:xaviii-typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/455
2026-06-21 12:49:02 +02:00
Chris Boesch 66de1124bc Merge pull request 'fix typo' (#452) from mmsaki/exercises:114-typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/452
2026-06-21 12:37:21 +02:00
Gabriel Sa dce9c803bf fix style mismatch on 065_builtins2.zig
Rename `fetchTheMostBeautifulType` to `FetchTheMostBeautifulType` to
follow Zig's standard naming practice.
2026-06-20 19:09:14 -03:00
Filip Kubiš 2cf2a885fd Use significand terminology
As exercise 60 says: Donald Knuth would not be happy with us calling
this mantissa. Proposing to use the less amiguous term significand
2026-06-20 11:18:05 +02:00
Tariq Ibrahim 90f847e8b9 fix typos in CONTRIBUTING.md
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2026-06-13 17:28:48 -07:00
Michael Walker c24a170ca8 missed a change to add the phrase 'and quiz 95' to the statement regarding Zig's Io interface. 2026-06-11 09:59:17 -04:00
Michael Walker bc443a1113 Fixed a couple of exercise references as they are no longer accurate after the recent changes
- Exercise 107 claimed the async exercises are 84-91, they are actually 85-94 and quiz 95
- Exercise 113 claimed the bit manip exercise is 097, it is now 100
- Exercise 114 has the bit manipulation exercises as 097 and 098, they are now 100 and 101
- Exercise 114 has the last switch exercise as being 108, it is now 111.
2026-06-11 09:58:17 -04:00
xaviii d39241a20e Fixed typo: "you will wish" -> "you wish" 2026-06-09 08:54:40 +02:00
mmsaki 1891f99502 fix typo 2026-06-08 05:55:17 +02:00
Chris Boesch 83a89702b2 Merge pull request 'Improve command line style' (#451) from manliop/exercises:improve-command-line-style into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/451
2026-06-06 22:11:53 +02:00