Commit Graph

  • b497ee4bc5 actually never implemented a simple list intersection? Stefan Harmuth 2022-12-03 06:23:12 +0100
  • b6360d18ed grid.Grid(): getActiveRegion(); returns connected !default regions Stefan Harmuth 2022-11-30 11:20:48 +0100
  • c16bc0d1cf *real* start to hex coordinates Stefan Harmuth 2022-11-29 20:37:46 +0100
  • d92686dd28 better stopwatch Stefan Harmuth 2022-11-29 19:36:55 +0100
  • 4f45d1f32d start on hexgrids Stefan Harmuth 2022-11-28 08:18:43 +0100
  • 199d6c1908 more precise stopwatch Stefan Harmuth 2022-11-19 12:57:40 +0100
  • 8e0b28159f waaaay better circles - also for 3d coords Stefan Harmuth 2022-08-14 13:38:41 +0200
  • 3c5e27cf36 waaaay better circles Stefan Harmuth 2022-08-14 13:36:55 +0200
  • 987a5bab28 better dealing with boundaries getting circles (mind the FIXME) Stefan Harmuth 2022-08-14 13:25:33 +0200
  • c5428a4ea5 keep a more accurate track of boundaries Stefan Harmuth 2022-08-14 12:32:37 +0200
  • 0ddf7596e0 better annotation Stefan Harmuth 2022-08-14 11:53:45 +0200
  • 1f633f3125 min and max in the same function Stefan Harmuth 2022-08-14 11:51:02 +0200
  • c254bb8643 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2022-08-10 23:35:01 +0200
  • f83709758c set shaped areas in a grid Stefan Harmuth 2022-08-10 23:34:58 +0200
  • 953dcc9505 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2022-08-10 10:09:22 +0200
  • 3bbb37526d some minor refactorings suggested by sonarcube Stefan Harmuth 2022-08-10 10:09:15 +0200
  • f5d59cd74f cleanup Stefan Harmuth 2022-08-07 19:36:48 +0200
  • 210d407bf9 remove class variables (should be instance variables) Stefan Harmuth 2022-08-07 19:34:37 +0200
  • ec35ad9f5d Merge remote-tracking branch 'origin/master' Stefan Harmuth 2022-08-07 18:52:21 +0200
  • c752c286d2 pentagonal number sequence (really int) Stefan Harmuth 2022-08-07 18:50:08 +0200
  • 2ac37ad567 pentagonal number sequence Stefan Harmuth 2022-08-07 18:45:33 +0200
  • c8bf84c578 Perhaps someday in the future you're able to remember that dicts have an update() method ... Stefan Harmuth 2022-05-04 10:45:55 +0200
  • 8f8201d8c8 Support pickled datafiles. Not readable by humans, but way more versatile Stefan Harmuth 2022-05-04 10:39:32 +0200
  • 1b4ef0276b Merge remote-tracking branch 'origin/master' Stefan Harmuth 2022-04-19 09:15:55 +0200
  • 04c6357f9c factorization is always useful to have Stefan Harmuth 2022-04-19 09:15:49 +0200
  • 622613a0ad introduce unbalanced binary trees (incredibly fun when inserting already sorted values!) Stefan Harmuth 2022-01-24 13:37:38 +0100
  • f700f0cb32 some execution time testings Stefan Harmuth 2022-01-17 09:40:02 +0100
  • cdac29dee7 found some execution time; also ditch way to complicated heap implementation and just use the balancing binary tree Stefan Harmuth 2022-01-16 21:03:24 +0100
  • 9d373596a1 binary trees; slow af, but functional :D Stefan Harmuth 2022-01-16 17:39:37 +0100
  • a1eb51eb80 nicer reprs Stefan Harmuth 2022-01-14 12:39:14 +0100
  • 1e1f5ef126 list comp is faster than building lists yourself Stefan Harmuth 2022-01-14 12:29:54 +0100
  • 3590c2550c apparently this is faster than min()/max() ... ?! Stefan Harmuth 2022-01-14 11:58:26 +0100
  • dbd308dbf3 that should cover linked lists (and their derivates Stacks and Queues) Stefan Harmuth 2022-01-14 11:23:00 +0100
  • c2b36a0e73 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2022-01-14 10:19:36 +0100
  • e239196065 starting linked lists Stefan Harmuth 2022-01-14 10:19:30 +0100
  • afefa8dcf0 use git if available Stefan Harmuth 2021-12-29 12:27:50 +0100
  • 5e3bf28e7e deal with shapes (like squares and cubes) Stefan Harmuth 2021-12-29 12:26:17 +0100
  • c4cfd0b298 remove redundant printing Stefan Harmuth 2021-12-29 09:49:58 +0100
  • ed90adc75c stopwatch: deal with elapsed == 0 (for whatever reason) Stefan Harmuth 2021-12-29 08:46:40 +0100
  • c9f91bbd98 aoc.py: input cleanup requirements! Stefan Harmuth 2021-12-29 08:22:58 +0100
  • 6b5d3de95b allow stopwatch to return averages fix AOCDay._submit() Stefan Harmuth 2021-12-28 21:11:07 +0100
  • 082c61beca auto input-download and answer-submit Stefan Harmuth 2021-12-28 12:51:26 +0100
  • 149da572c2 auto input-download and answer-submit Stefan Harmuth 2021-12-28 12:50:37 +0100
  • 5df8926378 pythons round() behaves unexpected (for me at least) Stefan Harmuth 2021-12-28 11:49:14 +0100
  • 4880c1bee2 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2021-12-27 17:33:58 +0100
  • 5a60b71139 updated AOCDay Interface; output exec_time seperately Stefan Harmuth 2021-12-27 17:33:53 +0100
  • 117eeec768 updated AOCDay Interface Stefan Harmuth 2021-12-27 16:29:46 +0100
  • 5bf2ec1c47 Grid.range[XYZ]: make ranges reverable Stefan Harmuth 2021-12-25 06:48:17 +0100
  • 709b0f471b Coordinate order - not sure which comparison is the "correct" one - can't make up my mind Stefan Harmuth 2021-12-22 09:25:50 +0100
  • 7656e90984 Coordinate order - not sure which comparison is the "correct" one Stefan Harmuth 2021-12-22 08:44:15 +0100
  • 1e33dd6210 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2021-12-21 21:25:50 +0100
  • b6bef1a78e Merge remote-tracking branch 'origin/master' Stefan Harmuth 2021-12-21 10:08:24 +0100
  • fa68aa6109 caching for when functools.cache() is not available (looking at you, pypy!) Stefan Harmuth 2021-12-21 10:08:18 +0100
  • 3b0a6480a3 Grid.range[XYZ]: ability to pad the range Grid.toggleGrid(): toggle everything! Grid.getSum(): give correct sum even if the default is not 0 Stefan Harmuth 2021-12-20 08:30:19 +0100
  • d8d7112098 Grid.transform() in 3D! Stefan Harmuth 2021-12-19 16:26:50 +0100
  • 74df9e9287 general irc bot interface Stefan Harmuth 2021-12-18 20:48:01 +0100
  • 898d4a8d85 auto-detect new users and my own user (libera RPL_WELCOME fuckup workaround) Stefan Harmuth 2021-12-16 08:54:44 +0100
  • a5df60e839 some irc servers refuse to adhere to standards ... Stefan Harmuth 2021-12-16 08:38:15 +0100
  • 072ba02831 make things faster/cleaner Stefan Harmuth 2021-12-15 11:49:14 +0100
  • 11604338e8 make things faster/cleaner Stefan Harmuth 2021-12-15 11:30:30 +0100
  • 2c859033fd grid.getPath(): Use heap to ease finding smallest f_cost node Stefan Harmuth 2021-12-15 11:09:58 +0100
  • af2aea1a34 still trying to make grid.getPath() faster Stefan Harmuth 2021-12-15 09:42:10 +0100
  • 235a545c70 grid.getPath(): allow for grid values to be movement/distance weights also: lambdas are sloooooooow Stefan Harmuth 2021-12-15 07:49:57 +0100
  • 1c83a41fd2 correct annotation Stefan Harmuth 2021-12-14 22:14:39 +0100
  • a507b004f9 allow getActiveCells() to return only one row/column annotation/import fixed Stefan Harmuth 2021-12-13 11:10:38 +0100
  • e16c21b3bb Node() is not a list anymore Stefan Harmuth 2021-12-13 07:44:21 +0100
  • 0b8a477184 implement Chebyshev/Chessboard distance algorithm Stefan Harmuth 2021-12-13 07:39:08 +0100
  • 3c855e6749 range methods better get() allow print() to be useful with false/true grids Stefan Harmuth 2021-12-13 07:19:27 +0100
  • d5a278ceef a* (untested) Stefan Harmuth 2021-12-13 06:18:25 +0100
  • dfe5afb735 write json files readable Stefan Harmuth 2021-12-13 05:08:35 +0100
  • 78e180871e accomodate for pypy Stefan Harmuth 2021-12-12 17:58:03 +0100
  • 904caf85ae fibonacci without functools (to work in pypy) Stefan Harmuth 2021-12-12 15:28:33 +0100
  • d8bb8d8aba setup.py needs to be top level Stefan Harmuth 2021-12-12 15:15:28 +0100
  • ec059d5354 way better (and much quicker) solution to receive lines from sockets Stefan Harmuth 2021-12-12 08:25:47 +0100
  • d806c838c4 remove unnecessary int cast Stefan Harmuth 2021-12-11 08:56:37 +0100
  • 4c56a767b2 more robust interface, keep track of users and channels Stefan Harmuth 2021-12-11 08:53:44 +0100
  • 4ab6519321 annotation cleanup add grid.mul() and grid.div() Stefan Harmuth 2021-12-11 07:15:32 +0100
  • 7b52ce4fba codeline cleanup Stefan Harmuth 2021-12-11 06:47:33 +0100
  • abbf1c85e1 grid.Grid: finally add that stupid print() method I'm always writing for debugging grid.Grid: add(), sub() and set() return what they've actually wrote to the cell Stefan Harmuth 2021-12-11 06:45:24 +0100
  • 55a12f7dc8 don't assume what an "OFF_STATE" might be, use the supplied default instead Stefan Harmuth 2021-12-09 06:20:57 +0100
  • 393e846926 import woes Stefan Harmuth 2021-12-07 08:50:02 +0100
  • eb63ba9e99 annotations, correct plural Stefan Harmuth 2021-12-07 06:54:31 +0100
  • c5d10980e9 relative import Stefan Harmuth 2021-12-07 06:49:23 +0100
  • 4a2b99f8f2 some more integer sequences to remember Stefan Harmuth 2021-12-07 06:38:42 +0100
  • 5c811280d7 move everything into a submodule to avoid namespace collisions Stefan Harmuth 2021-12-07 06:30:52 +0100
  • 63dc8da100 those are not only replys Stefan Harmuth 2021-12-06 09:17:45 +0100
  • f5d6f2deb0 catch empty lines and thelike Stefan Harmuth 2021-12-06 08:35:05 +0100
  • 57ba56bf2b convert timedelta to readable string Stefan Harmuth 2021-12-06 05:56:26 +0100
  • d757a82d80 using dicts is hard ... Stefan Harmuth 2021-12-05 16:15:40 +0100
  • 8c9206effe filehandling woes Stefan Harmuth 2021-12-05 16:06:25 +0100
  • 3933cdbadf properly keep track of own nickname Stefan Harmuth 2021-12-05 15:27:31 +0100
  • 779d77dad7 a (very) simple irc client ... Stefan Harmuth 2021-12-05 13:20:05 +0100
  • f1c731bb7c shot at simplifying sockets .. somewhat Stefan Harmuth 2021-12-05 11:14:23 +0100
  • adff0f724f simple helper to load (json) files into dicts Stefan Harmuth 2021-12-05 10:34:41 +0100
  • cce6e058c2 the famous daemon class from Joseph Ernest Stefan Harmuth 2021-12-05 10:19:36 +0100
  • 955f4ad88c simple scheduler to be called from daemon processes or similar Stefan Harmuth 2021-12-05 10:14:00 +0100
  • f8db937643 simple scheduler to be called from daemon processes or similar Stefan Harmuth 2021-12-05 10:08:38 +0100
  • 37166532ae grid.Grid: introduce rudimentary 3d support Stefan Harmuth 2021-12-05 08:21:26 +0100
  • 75c7df6f19 useless list comprehension is useless Stefan Harmuth 2021-12-05 07:53:17 +0100
  • 266bc44752 pythagoras is hard (not it isn't) Stefan Harmuth 2021-12-05 07:44:02 +0100