> > > > > > slave boss is deep in the bowels of a research lab, stirring
> > > > > > demons, cackling
> > > > >
> > > > > a mean experienced torturer is running from slave boss with his
> > > > > cartoon evilness
> > > >
> > > > mean experienced torturer: "don't be evil to me, slave boss!"
> > >
> > > ice cream is full of spikes
> > >
> > > "well why did you buy icecream from the "dangerously spiked icecream"
> > > store?"
> > >
> > > "i thought it meant the icecream was alcoholic. i didn't think it
> > > would mean there would be barbs in my cone."
> > >
> > > "excuse me! we are getting wounded from trying to eat the "spiked"
> > > icecream."
> > >
> > > "that's what you bought and why we had you sign a waiver!"
> >
> > contract with slave boss. slave boss promises to deliver 39 widgets.
> > you agree that they will be delivered by victims of slavery and
> > trafficking who may try to escape, bore or terrify you with tales of
> > being slaved and needing aid, etc etc etc.
>
> you agree to vari-- 0502
>
> ok on to the next bug! this bug may be why i wrote the fsck function.
> i there might be [~~~~~~~~ :s :s !
> :s :S :s:s:s:s
Traceback (most recent call last):
File
"/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/pdb.py",
line 1960, in main
pdb._run(target)
File
"/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/pdb.py",
line 1754, in _run
self.run(target.code)
File
"/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/bdb.py",
line 627, in run
exec(cmd, globals, locals)
File "/home/karl3/projects/rep/rep/array.py", line 139, in <module>
doc.doc.rep.manager.shrink()
File "/home/karl3/projects/rep/rep/i.py", line 142, in shrink
assert self.q[prev0] == head0 # <-
^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /home/karl3/projects/rep/rep/i.py(142)shrink()
-> assert self.q[prev0] == head0 # <-
(Pdb) list 132
127 unused += self.q[prev8+1]
128 # merge regions
129 regions.sort()
130 # idx head prev
131 # 0 1 5
132 # 1 5 0 <-
133 # 2 11 1
134 # note:
135 # q[5] == 11
136 # q[0] == 1
137 # q[1] == 11
(Pdb) list
138 for idx in range(1, len(regions)):
139 self.fsck()
140 head0, prev0 = regions[idx-1]
141 tail0 = self.q[head0+1] + head0
142 -> assert self.q[prev0] == head0 # <-
143 head1, prev1 = regions[idx]
144 tail1 = self.q[head1+1] + head1
145 assert self.q[prev1] == head1
146 self.fsck()
147 if tail0 == head1:
148 # remove region0
(Pdb)