log☇︎
178500+ entries in 0.109s
mircea_popescu: vpatches seem historically to go about 512 - 65535 bytes or so
asciilifeform: mircea_popescu: think back to what is the point of a hash to begin with
mircea_popescu: asciilifeform useful for different things. apparently all of modern computing comes to "adjust your expectations". what do you need 1gb codebases for ?
asciilifeform: ( a 512byte msg doesn't need to be hashed... why would you )
mircea_popescu: asciilifeform i can't really visually saw that appart, but looks like it's a hlen ** b mlen or such.
asciilifeform: if can't hash a 1GB message , or even 1MB, in less than geological time -- not very useful, sadly, algo
mircea_popescu: kinda badly chosen cutoffs too, i don't specifically care re diff between 40 byte and 70 byte message. make it log on that side and do 16, 128, 1024, 8192 and 65536 byte messages, for 32, 256, 2048 bit hash lengths as a standard of testing.
asciilifeform: exponential on mlen << that dun look good...
mircea_popescu: but other than that, looks like exponential on mlen and perhaps linear on hlen ?
mircea_popescu: http://btcbase.org/log/2017-07-02#1678479 << to my eye the worst part of it is that it's very badly drawn. a) about half of the Y space is actually used, which is terrible. b) all the same color, they melt together, can't tell apart. can use color gradient ? (yes, on blue, not on red, can't see red). ☝︎
a111: Logged on 2017-07-02 07:11 BingoBoingo: Your lawn? Compost. Don't mulch your lawn, it needs to breath.
mircea_popescu: (you are aware, yes, usg vulnerable to nuclear blasts, latest studies show ?)
mircea_popescu: historically, the best way to "inexplicably" die suddenly was to attempt to attack groups of strictly selected, very determined, technologically superior people. bitcoin is no exception, whatever the hallucinations of the "we are talking about it therefore involved in it" crowd may show.
mircea_popescu: and this isn't just mp being hoity toity. the point here is that the sort of superficial schmuck who imagines bitcoin has 6k nodes, is also the superficial schmuck who imagines if bitcoin is framed through usg owned internet, that'll "just oiccur". it won't just occur, the same day there's a nuclear blast on capitol hill, no questions asked.
mircea_popescu: sina "The Bitcoin network has more than 6,000 nodes," << lost interest at that point.
a111: Logged on 2017-07-01 23:52 asciilifeform: and nao bernstein, henninger ( this is what, 3rd paper since she was attached to him ) 'unhappened and rehappened' it
mircea_popescu: http://btcbase.org/log/2017-07-01#1678246 << total fucking insult to the heavens. ☝︎
a111: Logged on 2017-07-01 23:36 sina: if you write a systemd unit file with "User=0day", it launches the process as root. Pottering sez: "not a bug"
asciilifeform: btw ben_vulpes your mphash seems to use some shitlibrary that 1) i dun have 2) won't install via quicklisp ☟︎
ben_vulpes: but if you'll excuse me, i'm going to go make a hash of breakfast
ben_vulpes: or no, it dates to his prototype
deedbot: http://phuctor.nosuchlabs.com/gpgkey/479C78D67322671E964668B28E0CC778B7E5CBB10EB315D3E438860DA9014D18 << Recent Phuctorings. - Phuctored: 1497...2787 divides RSA Moduli belonging to '160.39.90.80 (ssh-rsa key from 160.39.90.80 (13-14 June 2016 extraction) for Phuctor import. Ask asciilifeform or framedragger on Freenode, or email fd at mkj dot lt) <ssh...lt>; ' (Unknown US NY)
deedbot: http://phuctor.nosuchlabs.com/gpgkey/479C78D67322671E964668B28E0CC778B7E5CBB10EB315D3E438860DA9014D18 << Recent Phuctorings. - Phuctored: 1612...5087 divides RSA Moduli belonging to '160.39.90.80 (ssh-rsa key from 160.39.90.80 (13-14 June 2016 extraction) for Phuctor import. Ask asciilifeform or framedragger on Freenode, or email fd at mkj dot lt) <ssh...lt>; ' (Unknown US NY)
a111: Logged on 2017-07-02 07:55 ben_vulpes: a not-great thing about this chart is that hash length is in bits but message length is in bytes: http://cascadianhacker.com/wp-content/uploads/2017/07/100.png
asciilifeform: http://btcbase.org/log/2017-07-02#1678477 << i have nfi why mircea_popescu went with ascii-010010010111.. for the output format ☝︎
a111: Logged on 2017-07-02 03:58 ben_vulpes: in re benchmarking, is 'perf' a reasonable thing to use?
asciilifeform: http://btcbase.org/log/2017-07-02#1678356 << there are afaik no acceptable autoprofilers in existence at all. they all do this idiotic thing with statistical sampling rather than actual per-line timer ( because apparently the year is eternally 1980 and there is no highres timer, or wat.) ☝︎
asciilifeform: http://btcbase.org/log/2017-07-02#1678431 << not only does it, but there is not even an interpreter in there as fallback ( see the old sbcl vs cmucl threads ) ☝︎
asciilifeform: if counting lisp runtime load, why not the c runtime.
a111: Logged on 2017-07-02 06:06 ben_vulpes: why disregard runtime startup time?
asciilifeform: http://btcbase.org/log/2017-07-02#1678460 << how about we roll the boot time ( to shell!! ) of your cmachinekernel, how about? ☝︎☟︎☟︎☟︎
asciilifeform: and, worse, to introduce it to places that happily worked without idiotic interpreter ( e.g. microcontroller ) at all
asciilifeform: and to have folx suppose that i somehow want to perpetuate it.
asciilifeform: python2 was also garbage, infix pseudolisp with globalinterpreterlock, broken lambda, 1,001 eager idiocies. apparently i write a handful of throwaway rubbish proggies in it ( was less atrocious than perl, so i threw out perl) but now i'm condemned for life to hear about it
sina: asciilifeform: thoughts https://micropython.org/
a111: Logged on 2017-07-02 07:56 ben_vulpes: sina if you can get your implementations to print <execution_ms>\n<hash> that'll save me a bit of fiddling
sina: http://btcbase.org/log/2017-07-02#1678478 << re this request ☝︎
ben_vulpes: sina if you can get your implementations to print <execution_ms>\n<hash> that'll save me a bit of fiddling ☟︎
ben_vulpes: a not-great thing about this chart is that hash length is in bits but message length is in bytes: http://cascadianhacker.com/wp-content/uploads/2017/07/100.png ☟︎
ben_vulpes: BingoBoingo: ty
BingoBoingo: Your lawn? Compost. Don't mulch your lawn, it needs to breath. ☟︎
ben_vulpes: well if i time just the hash impl it does squeak in under the go implementation
ben_vulpes: had like five followups, all of which are probably answered by "this is probably one of those things worth doing rigorously"
ben_vulpes: not "unix tool as it may or may not be used in the future"
mircea_popescu: because you're timing the actual impl.
ben_vulpes: why disregard runtime startup time? ☟︎
mircea_popescu: ben_vulpes or you could just instrument your impl to read time at start and end ?
ben_vulpes: i'm well supplied with compute tho, thx
sina: ben_vulpes: I am about to head out the door so currently not the best time, but if it would help in anyway I can donate some compute to the effort
ben_vulpes: but i am definitely interested to see how performance plays out on large sets
ben_vulpes: well who knows, who'm i to make guesses like that
ben_vulpes: myeah 'tis what i'm thinking
sina: well, I guess lets see how the benchmarks play out over a larger dataset, maybe it evens out over a certain bitlength or bytesizer
sina: cos that'd be pretty interesting
sina: ben_vulpes: did you use sbcl the other day when you mentioned golang impl was faster than lisp impl?
ben_vulpes: i think
sina: it does sound like lisp is doing something JIT-like, except you can "re-JIT" at any time during execution?
sina: from reading https://stackoverflow.com/questions/12593768/how-is-lisp-dynamic-and-compiled it looks like GNU CLISP compiles down to bytecode, which I guess will be probably performance equivalent to pypy
sina: black box doesn't have to be invoking from CLI each time tho, you could write a daemon around each impl and measure how long it takes to return a value
a111: Logged on 2017-07-02 04:33 ben_vulpes: no i do intend to black box it
ben_vulpes: ah yeah i thought we'd put that thread to bed with http://btcbase.org/log/2017-07-02#1678389 ☝︎
sina: or you are OK with a blackbox, in which case can just use time and avoid calling it with small loops where the runtime startup cost dominantes `time`
sina: my point was, either you *really* care about evaluating the actual main loop, which is a fair apples/apples
sina: ben_vulpes: you asked what else "it" can depend on, where "it" == whether or not runtime startup is a cost of the program or not
ben_vulpes: "cython wouldn't know the input type without chasing pointers all over the place"?
ben_vulpes: sina: how does the paste relate to the JIT thread?
sina: <+ben_vulpes> runtime startup is a cost of the program, innit? <<
sina: ben_vulpes: sorry. I am referring to pypy JIT vs python
ben_vulpes: buddy how do you think i've been comparing things?
ben_vulpes: dun think that's really in play here
sina: its reading something closer to native compiled code
sina: faster in the run because its no longer "interpreting"
ben_vulpes: faster in steady state runs or faster to compile?
sina: for example, pypy is much faster than cpython for long running programs, because it Just In Time compiles
ben_vulpes: but extending from what i know of java's jit (not much), no. the whole file (at least in the tests i'm running) is compiled.
ben_vulpes: i've no idea what you mean by that in this context
ben_vulpes: i wouldn't keep a lisp runtime hanging around just on the offchance i want to hash things
sina: well, I dunno too much about lisp, does it "JIT" for long running programs?
sina: that might be a fairer blackbox test?
sina: if I make an mpfhf daemon, then no
ben_vulpes: runtime startup is a cost of the program, innit?
ben_vulpes: no i do intend to black box it ☟︎
sina: of the main loop iterating through M
sina: so if you really want super precise, apples <=> apples comparison, you would need to instrument performance on a per lang basis, no?
sina: because, for example, python and lisp, probably most of the time will be spent in starting the runtime/interpreter than actual computation, unless you're doing larger sized stuff
sina: here is the thing, it depends on how anally you want to measure
ben_vulpes: obvious counterargument is that "don't bother with subsecond executions, dork"
ben_vulpes: something something not great subsecond resolution or so the various reddits say?
sina: is that all you want to measure? why not just use `time` then?
sina: e.g. "how long does it take to hash document of N bytes size in M bits hash" with varying N and M?
sina: ben_vulpes: oic. and why not just using black box testing?
ben_vulpes: why to compare mpfhfhfhfhfhfs!
sina: ben_vulpes: can we roll back and start at the usecase?
sina: mircea_popescu: around? any time to play with gossipthing?
sina: but again, I haven't used that one
BingoBoingo: Isn't dtrace that Sun Microsystems thing that came with Solaris 10?
sina: I heard good things about systemtap but never used it myself
ben_vulpes: sina: got any better ideas for comparing program runtimes than perf?
BingoBoingo: <asciilifeform> mircea_popescu: afaik there is no konsoomer nife. there are only industrial. << In UK "consumer" sets are being marketed for solar crowd
BingoBoingo: Unless you go full synthetic on the fuel and they why the fuck not drill for natural gas then