Sacha Ligthert sacha
sacha pushed to #19_the-great-refactor at golang/sudoku-funpark 2025-01-27 23:23:38 +01:00
3bcb5b95e7 Make the linter happy.
sacha pushed to #19_the-great-refactor at golang/sudoku-funpark 2025-01-27 22:40:16 +01:00
e3be1094ea Little cleanup
sacha pushed to #19_the-great-refactor at golang/sudoku-funpark 2025-01-27 22:13:48 +01:00
38207ceda3 Move solver.Run() into main(). Split flags into its own separate interface.
sacha pushed to #19_the-great-refactor at golang/sudoku-funpark 2025-01-27 20:46:42 +01:00
51f5d6d77d Quick cleanup
sacha created branch #19_the-great-refactor in golang/sudoku-funpark 2025-01-27 20:46:42 +01:00
sacha commented on issue golang/sudoku-funpark#15 2025-01-27 20:35:05 +01:00
Build in rate-limiting

I don't feel this is relevant for this tool.

If I wanted to rate-limit I would..

  • run it for a second
  • sample how much is processed
  • Do some wonky calculations to get to some delay
  • Add…
sacha closed issue golang/sudoku-funpark#13 2025-01-27 20:24:18 +01:00
Make function returns nicer
sacha commented on issue golang/sudoku-funpark#13 2025-01-27 20:24:14 +01:00
Make function returns nicer

This functions have been cleaned up.

sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 20:23:50 +01:00
6241c0b720 Remove unused restraint.
sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 20:21:43 +01:00
3d4729bdb6 Small optimization
sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 20:17:12 +01:00
7084a62962 Ignore the extra second when we are done.
8d2cca657b Nicely print the solution, with table borders and stuff.
Compare 2 commits »
sacha closed issue golang/sudoku-funpark#17 2025-01-27 19:55:31 +01:00
Look into refactoring the passing of arrays
sacha commented on issue golang/sudoku-funpark#17 2025-01-27 19:55:20 +01:00
Look into refactoring the passing of arrays

I am looking into this comment.

First instance is:

This eventually calls:

  • https://gitea.ligt…
sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 19:40:28 +01:00
56ebe616ab Change functions and vars from snake_case to camelCase (Closes #16)
sacha closed issue golang/sudoku-funpark#16 2025-01-27 19:40:28 +01:00
Change case
sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 19:20:52 +01:00
fc555fa581 Use stdlib time functions to print time estimation (Closes #18)
sacha closed issue golang/sudoku-funpark#18 2025-01-27 19:20:52 +01:00
Look into Time package to print est. time left.
sacha commented on issue golang/sudoku-funpark#18 2025-01-27 18:52:56 +01:00
Look into Time package to print est. time left.

This may be of help: https://pkg.go.dev/time#Duration

sacha pushed to trunk at golang/sudoku-funpark 2025-01-27 18:41:36 +01:00
0e3aa42b78 #11 It works.
c72bc6b0e5 Start of godoc comments. Closes #5
c73c88679a #13 Clean functions
Compare 3 commits »
sacha closed issue golang/sudoku-funpark#5 2025-01-27 18:41:36 +01:00
Look into godoc