skunks get personal armor with government money
---
i'm still working on rep/dict.py !
for a little smidge i didn't have wifi so i made a very simple
file-based backend and just now got it working
here's my current crash
File "/home/karl3/projects/rep/rep/dict.py", line 392, in <module>
doc.update([[val,val]])
File "/home/karl3/projects/rep/rep/dict.py", line 347, in update
super().update(keyhashitems())
File "/home/karl3/projects/rep/rep/dict.py", line 225, in update
self.array[:] = IterableWithLength(content_generator(), capacity)
~~~~~~~~~~^^^
File "/home/karl3/projects/rep/rep/array.py", line 56, in __setitem__
self.doc[start * sz : stop * sz] = data
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/karl3/projects/rep/rep/rep.py", line 167, in __setitem__
piece = prefix + data[:] + suffix[:suffixoff]
~~~~^^^
File "/home/karl3/projects/rep/rep/rep.py", line 220, in __getitem__
buf += next(self.iteration)
^^^^^^^^^^^^^^^^^^^^
File "/home/karl3/projects/rep/rep/dict.py", line 218, in content_generator
assert superidx * expansion + subidx ==
int.from_bytes(dbg_keyhash[:hashbytes], 'big') >> hashshift
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
[stares blankly at crash] i wonder what all this funny text means!