log☇︎
31700+ entries in 0.233s
ben_vulpes: candi_lustt: (mpfhf:mpfhf #*1111 4)
sina: ben_vulpes: M = [0] * 32
sina: lol...the 2048 bit hash for GPLv2 was taking a really long time so I killed it to add some print statements. Checked "wc -c LICENSE", it reports ~18,000 chars. I re-ran mpfhf with 32 bits, thinking it'd finish at M_pos ~18,000
sina: ben_vulpes: if you count from 0 do we get same hashy hash?
sina: so the step == M_pos
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/sprPX/?raw=true
candi_lustt: mircea_popescu: #*00100
deedbot: candi_lustt voiced for 30 minutes.
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111 5)
ben_vulpes: !!up candi_lustt
mircea_popescu: ben_vulpes 32/32 64/64 even 4/4 displayed it
sina: + flip(b, ((i+1 * M_pos) % len(b)))
sina: - flip(b, ((i * M_pos) % len(b)))
sina: ben_vulpes: if I
sina: mircea_popescu: can you confirm/clarify same statement above, start at 0 or 1?
ben_vulpes: naively, per http://trilema.com/2017/towards-a-better-hash-function/#footnote_1_70955
ben_vulpes: mircea_popescu: and i worked this example at one point, i'm pretty sure the expected value of 011 is correct
sina: ben_vulpes: also per above my halfscrew won't take any action if the len(a) is 1, can you confirm cl behaviour?
sina: ben_vulpes: as you can see my implementation for screw is only 3 lines long, can you see any faults in it?
sina: ben_vulpes: in your halfscrew I notice (underlying-screw b m-position (floor (/ (length a) 2)))
sina: changing it to the value of the iterator per ben_vulpes cl code fixed it
mircea_popescu: ben_vulpes 's examples work fine wrt that part,
sina: mircea_popescu: can you confirm/clarify "his operation consists of taking the bit count of either S or R, iterating over that value, at each step multiplying the iterator with the current position in M" ...
sina: ben_vulpes: http://github.com/sinner-/mpfhf-python
sina: mircea_popescu: there was a bug in my screw method which caused the cycle, once I identified it, it stopped cycling
sina: mircea_popescu: nope
sina: mircea_popescu: http://wotpaste.cascadianhacker.com/pastes/U5KgJ/?raw=true 32 1s with 64 bit R_len
sina: mircea_popescu: http://wotpaste.cascadianhacker.com/pastes/kFx6V/?raw=true that is for 64 1s with 64 bit R_len
mircea_popescu: see, i suspect ben_vulpes 's thing has a subtle bug in it but i can't seem to find it ;/
mircea_popescu: try <mircea_popescu> candi_lustt: (mpfhf:mpfhf #*11111111111111111111111111111111 64)
sina: I feel like my code is now correct, and it no longer loops. However I'm getting different results to ben_vulpes
sina: mircea_popescu: ok thanks
sina: mircea_popescu: earlier you said half screw should round down. In that case, if len is 1 the halfscrew will be 0. so should no iterations be peformed on halfscrew where the len is 1?
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 32)
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 64)
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 32)
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 64)
deedbot: candi_lustt voiced for 30 minutes.
sina: !!up candi_lustt
sina: thanks ben_vulpes
sina: ben_vulpes: any chance you'd be willing to take a peek at my code>?
mircea_popescu: ben_vulpes i shall now withdraw into my cellar with the instruments.
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/Y1j9T/?raw=true
candi_lustt: mircea_popescu: #*0000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*1111 4)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/W5wXH/?raw=true
candi_lustt: mircea_popescu: #*0000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*111 4)
mircea_popescu: ben_vulpes that is wtf.
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/sBBqA/?raw=true
candi_lustt: mircea_popescu: #*0000000000000000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111111111111111111111111111 16)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/4miEv/?raw=true
candi_lustt: mircea_popescu: #*00000000000000000000000000000000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111111111111111111111111111 32)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/p63y3/?raw=true
candi_lustt: mircea_popescu: #*0000000000000000000000000000000000000000000000000000000000000000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111111111111111111111111111 64)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/nMTx4/?raw=true
candi_lustt: mircea_popescu: #*011010110
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111 9)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/VE2CC/?raw=true
candi_lustt: mircea_popescu: #*1110011
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111 7)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/J0IT1/?raw=true
candi_lustt: mircea_popescu: #*00000000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111 8)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/yiQsE/?raw=true
candi_lustt: mircea_popescu: #*00100
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*111111 5)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/iy12g/?raw=true
candi_lustt: mircea_popescu: #*0000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*111111 4)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/keZP5/?raw=true
candi_lustt: mircea_popescu: #*0000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111 4)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/ADhW1/?raw=true
candi_lustt: mircea_popescu: #*0000
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*1111 4)
candi_lustt: ben_vulpes: log: http://p.bvulpes.com/pastes/1diie/?raw=true
candi_lustt: ben_vulpes: #*0000
ben_vulpes: candi_lustt: (mpfhf:mpfhf #*1111 4)
ben_vulpes: mircea_popescu: live
sina: mircea_popescu: seems you're correct, "MP kicks3453453453 ass!" still loops
mircea_popescu: ben_vulpes mind making the alterations and let's see ? ima edit the spec later too
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/bsZER/?raw=true
candi_lustt: mircea_popescu: #*1111
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*1111 4)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/egLq6/?raw=true
candi_lustt: mircea_popescu: #*0110
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*0000 4)
candi_lustt: mircea_popescu: log: http://p.bvulpes.com/pastes/c9kYj/?raw=true
candi_lustt: mircea_popescu: #*11111111
mircea_popescu: candi_lustt: (mpfhf:mpfhf #*11111111 8)
deedbot: candi_lustt voiced for 30 minutes.
mircea_popescu: !!up candi_lustt
ben_vulpes: mircea_popescu: perhaps to start with simpler runs?
mircea_popescu: ben_vulpes ah ok, then that's not the problem.
mircea_popescu: ben_vulpes ok, so was that a half-screwing of s in r and s was 1 bit long so it did nothing ?
sina: mircea_popescu ben_vulpes http://wotpaste.cascadianhacker.com/pastes/gyrhO/?raw=true assistance appreciated