log☇︎
1463 entries in 0.135s
sina: would you be willing to look?
sina: I got em
sina: 1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001
sina: I seem to be generating junk hashes like "1001001110000000000000000000000000000000000000000000000000000000" for "MP kicks ass!" :(
sina: ah of course
sina: mircea_popescu: can you point if I'm missing something obvious? From my understanding of the spec, the number of "steps" is = the length of M, but in your examples (understanding they're of a nonworking prototype) have a lot more steps than len(M)
sina: true.
sina: so much less pretty tho
sina: fuckers, ok I will add the debug back
sina: 43 lines, incl blanks, should be auditable
sina: https://github.com/sinner-/mpfhf-python
sina: because I thought it makes my pretty code look ugly
sina: mircea_popescu: lollll I had it doing that but removed those lines
sina: I mean, I am pretty sure
sina: how the fuck am I know my code works
sina: lel ok that is not the output that I got :(
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 64)
sina: !!up candi_lustt
sina: did I call it wrong?
sina: candi_lustt: (mpfhf:mpfhf #*1001101101000010000011010111101001110001111010111110011100000110000111100111110011100001 64)
sina: ah good, python by default adopts the C behaviour
sina: i.e. round up or down
sina: mircea_popescu: can I ask you to verify behaviour of half screw when the length of S or R is not even?
sina: python for a first pass
sina: I miss writing code, most of my day-to-day is operations
sina: got most of a thing working
sina: ok fair enough then, I'll try and adhere solely to the spec
sina: that's the second time in 24h you've said that :P
sina: lol
sina: ah fux, so I can't rely on the steps displayed in the prototype to validate my work as I go?
sina: kk, so how come in "step 1" of the prototype, you're modifying S in the halfscrew, rather than R, because the spec says "if bit is 1, half screw S in R"?
sina: can you confirm my intepretation of the spec for mpfhf is correct or not?
sina: mircea_popescu: hey mate
sina: !~later tell mircea_popescu http://btcbase.org/log/2017-06-09#1667677 ☝︎
sina: !~later mircea_popescu http://btcbase.org/log/2017-06-09#1667677 ☝︎
sina: !~tell mircea_popescu http://btcbase.org/log/2017-06-09#1667677 ☝︎
sina: results in S being modified
sina: from my reading of http://trilema.com/2017/towards-a-better-hash-function/ it seems like the "screw" and "half screw" operations, "screwing S in R" means, R will be changed, and "screwing R in S" means S will be changed. the footnote (ii) examples support this interpretation. but in the prototype implementation http://trilema.com/mp_fabulous_hashonator.php ...it seems like the "step 1" half screw S in R ☟︎☟︎☟︎
sina: damn
sina: shinohai: do you know anything about mpfhf?
sina: hi shinohai
sina: hey ben_vulpes you still around?
sina: ben_vulpes: it's not, you're right :P
sina: hehe
sina: "Turns out, it doesn't work at all." ...so does the impl on the page work or not?
sina: hi ben_vulpes
sina: interesting, reading your blog now
sina: will do so now, as you can see I was reading previous months logs :P
sina: mpfhf?
sina: mircea_popescu: I work on the biggest python turd of all, OpenStack :P
sina: anyway, I guess I will come back later and ask asciilifeform and he'll laugh at me
sina: you can never rly get rid of it I guess
sina: it's got to be fast and correct to be able to do the concurrency, so that hopefully dampens that kind of thing
sina: lol
sina: define turd?
sina: I am a big fan of the 600 lines of python idea, using libraries to offload stuff to C where appropriate ☟︎
sina: it'd be a lot more than 600 lines of ada that's for sure :P
sina: will it be ada this time?
sina: any chance I could be involved? ☟︎
sina: (assuming the phuctor python app is written wsgi compatible)
sina: you can also use eventlet wsgi on the frontend to offload the http side as well ☟︎
sina: https://github.com/eventlet/eventlet/blob/master/eventlet/db_pool.py
sina: db_pool is about 500 lines, and I guess there is some lower level stuff behind that
sina: how many lines is the whole library? or how many lines do you need to add to your app to use it?
sina: its just a mechanism to offload a IO to an async model in C (epoll, kqueue and libevent supported)
sina: you can use it to get good pretty good mileage out of single box python+dbms apps
sina: to speed up python
sina: mircea_popescu: let me rephrase then. was wondering if eventlet db_pool http://eventlet.net/doc/modules/db_pool.html had been considered ☟︎
sina: I am curious to look and learn
sina: do you know if the src for phuctor is avail? ☟︎☟︎
sina: http://btcbase.org/log/2017-04-07#1639932 << was just reading this ☝︎
sina: hi mircea_popescu
sina: asciilifeform: you about?
sina: hullo
sina: rly good to see your chars streaming across my term once again
sina: me love you long time
sina: its sat afternoon here so I am gonna go do some weekend stuff
sina: alright
sina: altho I feel like I remember BingoBoingo saying you just .asc that sucker and ! tell
sina: how I submit
sina: I dunno, lets say I wrote an article "#breaking, #headline, BingoBoingo sucks 200 dicks ..."
sina: shinohai: propose transfer you my payment for first submission to qntra
sina: I keep most things in my butt
sina: BingoBoingo: how do you get ownership of shares if you don't have an MPex seat tho
sina: pls
sina: mircea_popescu: something dumb like "what's openbsd"
sina: good times
sina: mircea_popescu: do you knnow why I am here today? because earlier this week I was telling a friend about this time a crazy Romanian saved OpenBSD with a bitcoin donation
sina: I like it
sina: wait you crazy fuckers wrote a bot in sql stored procedures?
sina: is clojure a dirty word to you?
sina: BingoBoingo: noted
sina: phf: yall write this deedbot in lisp?
sina: BingoBoingo: got anymore of those funnies
sina: brb going to kill myself
sina: I could just up myself
sina: it works now?
sina: 2014 was a strange time, why did I make a 3072 bit DSA elg-e key?
sina: !!v A219F31FDD833D1408844473A0436E8608707B6CC91445D2FF2B1A4FA1356753
sina: that worked!