Stefan Harmuth pennywise
  • Joined on 2023-10-03
pennywise pushed to main at public/py-tools 2024-01-09 05:52:07 +00:00
d6fad1511c Grid.find(): generator yielding coordinates that hold a specific value
pennywise pushed to main at public/aoc2023 2024-01-08 08:45:11 +00:00
83f612ce9a Day12 - foreign input part2
pennywise pushed to main at public/aoc2023 2024-01-08 08:21:44 +00:00
2dd4cb112e Day 12 - foreign input part1
pennywise pushed to main at pennywise/aocbot 2024-01-08 08:02:28 +00:00
8109e8a85f calc from correct year, even if still running in january; for real this time
pennywise pushed to main at public/aoc2023 2024-01-08 07:49:13 +00:00
e4aff38d54 Day 12 - delete brute force approach
2d5553e1c3 Day 12 - Part 2
55d885f416 Day 18 - remove additional perimeter calculation
Compare 3 commits »
pennywise pushed to main at pennywise/aocbot 2024-01-07 18:58:59 +00:00
444e5f3056 calc from correct year, even if still running in january
pennywise pushed to main at public/py-tools 2024-01-03 04:46:34 +00:00
cf72a5451f aoc.AOCDay: introduce class variable "DP", a dictionary that gets reset before every part method call, useful for memoization problems
pennywise pushed to main at public/py-tools 2024-01-01 20:48:28 +00:00
87fbaeafbe coordinate.Shape: add __contains__()
94cffbbd74 visualization: Add Color Enum
e3309415b7 tools.minmax(): remove broken code; why was that even there?
Compare 3 commits »
pennywise pushed to main at public/aoc2023 2024-01-01 20:35:31 +00:00
7595fa8562 Merge remote-tracking branch 'origin/main'
1640348c40 Day 18 - Part 2
Compare 2 commits »
pennywise pushed to main at public/py-tools 2023-12-28 05:55:00 +00:00
2d7d339bf0 visualization.Window(): better boundary box handling
pennywise pushed to main at public/py-tools 2023-12-28 05:48:27 +00:00
ed0fe0dafc visualization.Window.done(): choose to realign or not (default: yes)
87eff61ae2 visualization.Window.realign(): scale to fit
Compare 2 commits »
pennywise pushed to main at public/py-tools 2023-12-28 05:09:39 +00:00
0aedd1c612 NEW: visualization.Window(): simple Tk visualization class, can just draw some lines for now, but with working realignment, zooming and panning
8dea09c30f expand coordinate.Line functionality
Compare 2 commits »
pennywise pushed to main at public/aoc2023 2023-12-27 12:18:40 +00:00
71da59865b Day25 - foreign input
pennywise pushed to main at public/py-tools 2023-12-26 11:49:45 +00:00
f7d1fde5b7 NEW: itertools.len_combinations_of_sum()
pennywise pushed to main at public/py-tools 2023-12-25 22:17:25 +00:00
600d0e716c combinations_of_sum moved to new itertools module
pennywise pushed to main at public/py-tools 2023-12-25 18:45:45 +00:00
5d5e9fb8e5 NEW: AOCDay.run_part(): when timing, shift all following progress bars down by one to not interfere
pennywise pushed to main at public/aoc2023 2023-12-25 14:48:11 +00:00
b053e244e4 Day 22 - make use of new progress bar feature
67a278ce0c Day 25 - good enough
Compare 2 commits »
pennywise pushed to main at public/py-tools 2023-12-25 14:47:44 +00:00
916ab481cf NEW: AOCDay.progress() - add a progress bar to your long-running solutions
pennywise pushed to main at public/py-tools 2023-12-25 11:31:12 +00:00
4ce70c8565 AOCDay.run_part(): When in timeit mode, display progress bar
ee3b5ee941 Stopwatch() can now be restarted and will automatically sum up all intervals between start() and stop() calls
Compare 2 commits »
pennywise pushed to main at public/py-tools 2023-12-25 10:24:18 +00:00
4d1b075086 NEW: itertools.len_permutations() and itertools.len_combinations() -> get the amount of results the respective itertools function would yield