log☇︎
▁▁▁▁⏐︎▁▁ 4435
mircea_popescu: and in other news from the unexpected jungle, a magistral link affording costa rica access to the brazilian electricity market failed* earlier today, resulting in no power.
mircea_popescu: i don't mean, here where i am. i mean, in costa rica period. and nicaragua. and panama. toda la centroamerica, mang!
mircea_popescu: (*story subject to future revision)
shinohai: O.o
mircea_popescu: no power, no pumps (i live up on a hillside) and so i had the girls... fery water. from the pool, with ex-paper baskets repurposed as sacas, up the fucking stairs. ☟︎
mircea_popescu: it turned into a lovely teaching moment about the you know, historically principal expenditure of female calories. "that's what they did, all the way to 1800. lugged water. they still do in india."
mircea_popescu: "how do you like it ?"
asciilifeform: and what of the diesels
mircea_popescu: i suppose i should provision a whole generating plant again.
mircea_popescu: asciilifeform those were in buenos aires. i didn't take along. all i got here is yhou know, inverters, batteries, stuff like that.
asciilifeform: i can't picture civilized life in bananistan without a 2wk tank of diesel + at least 100kW of gen
mircea_popescu: allows for a civilised shutdown rather than staying on indefinitely/
asciilifeform: aah like mine
asciilifeform: pretty lulzy, mircea_popescu rides in ~same auto as asciilifeform even nao, runs on ~same batteries..
asciilifeform: such economy !
mircea_popescu: hey, i got a pool >D
asciilifeform: buncha folx even here have these. just not me
mircea_popescu: so THERE!!!
asciilifeform: i also dun have a zoo!11
mircea_popescu: sometimes i wonder what you're thinking, i'm connecting from a different dimension or what,.
asciilifeform: almost.
mircea_popescu: of course it still gets wet when it rains, and sandwiches still fall butter face down
mircea_popescu: and if you feel like spending a quarter mil or we on the generators you do and if oyu don't you don't.
asciilifeform: ah hm often i forget the sheer expense of getting products of industry in bananilandia
mircea_popescu: nah, it's about what a serious setup costs. and if you do, might as well get serious.
asciilifeform: incidentally do they have piped gas in cr ?
mircea_popescu: nope.
mircea_popescu: chicks love teh electric stove tho. ☟︎
asciilifeform: ( over here, piped gas gensets are quite common )
mircea_popescu: gas was... iffier.
mircea_popescu: asciilifeform ah yes, that'd be much easier. but no gas here, and im not gonna bury a gpl tank (bad soil, hillside).
asciilifeform: yeah these are terrible, i disrecommend
asciilifeform worked in a place that had one
mircea_popescu: whereas gasoline generator only really works well as a 50kw+ item
asciilifeform: <10kW actually
asciilifeform: they dun scale so well.
asciilifeform: and light fraction dun keep well.
mircea_popescu: no, they do. the tiny shits suck. but the 10-20-50hp ones work well enough.
asciilifeform: ( hence why folx use diesel )
asciilifeform: hm
mircea_popescu: tiny shits are 2 stoke half the time.
mircea_popescu: asciilifeform oh wait, we were talking at cross purposes. yes the gas ones are small.
asciilifeform: ~diesel~ works well as >50kW.
mircea_popescu: right. that's what i mean.
mircea_popescu: i suppose i could break down and put in... SOLAR PANELS. dun dun dun
asciilifeform: probably not even worst possible idea
mircea_popescu: it's VERY sunny here.
asciilifeform: ( see if you can score those eternal NiFe cells to go with'em... )
mircea_popescu: that's what i was thinking, rather than get a diesel, get a very large iron cell set instead.
asciilifeform: apparently commercially available finally. after 100 yr pause.
asciilifeform: http://www.bimblesolar.com/batteries/nifebatteries << randomly picked vendor
mircea_popescu: more a matter of space. what's a cubic meter get me in terms of mj ?
asciilifeform: 'Encell ENC30012' 300Ah 12v ( i.e. 30 Ah 120v supposing ideal inverter... ) lasts, purportedly, 11,000 cycles, 48cm x 48cm x 61 cm.
mircea_popescu: !~calc 300 * 3600 / .48 / .48 / .61
jhvh1: mircea_popescu: 300 * 3600 / .48 / .48 / .61 = 7684426.229508197
mircea_popescu: so like 7.5mj ? that's not even horrible.
asciilifeform: https://archive.is/dmpaz << where found the latter.
mircea_popescu: esp if one gets a proper set rather than consumer prepackaged bs.
asciilifeform: they're considerably less dense than lithium but last for century rather than couplayears
asciilifeform: mircea_popescu: afaik there is no konsoomer nife. there are only industrial.
asciilifeform: hence the prices.
mircea_popescu: i could readily spare 6-10 m3. which...
mircea_popescu: maybe.
asciilifeform: they are apparently catching on at telcos etc
asciilifeform: this plus a dish antenna or two and you could live on mars...
mircea_popescu: i already have those
asciilifeform: then short work neh.
mircea_popescu: not too much no.
asciilifeform: the hilltop tower house described in article seems ideal : no shades
mircea_popescu: a little iffy because of landslide potential.
asciilifeform: most photopanel aficionados would cream pants, just reading about it.
mircea_popescu: asciilifeform i wasn't even rthinking getting the panels too. just get batteries, charge from network
asciilifeform: hey nobody gets to escape all forces of nature. ( usa is good illustration of this : all of the parts with desirable weather, have some periodic cataclysm, earthquake or flood, pick.. )
asciilifeform: mircea_popescu: this'd work pretty well
mircea_popescu: i expect ya
asciilifeform: telco-style. all of the gear is off-the-shelf
asciilifeform: in fact even asciilifeform has most of it right here.
asciilifeform: ( i still use bad ol' Pb cells, tho. )
mircea_popescu: you know, "Even asciilifeform " dun work so well here, you're basically living on a satellite as far as most kitchens are concerned.
asciilifeform: lolmost of my gear came from.. scrapyards
asciilifeform: but sure.
asciilifeform bbl, alcohol
shinohai: За здоровье asciilifeform
deedbot: http://deedbot.org/bundle-473611.txt
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/Birdman.txt http://lobbesblog.com/billing/2017/q2/Minigame.txt
deedbot: accepted: 1
lobbes: hm damn. Was hoping it'd snarf both urls
lobbes: forgive the incoming spam
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/Minigame.txt
deedbot: accepted: 1
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/danielpbarron.txt
deedbot: accepted: 1
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/diana_coman.txt
deedbot: accepted: 1
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/hanbot.txt
deedbot: accepted: 1
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/lobbes.txt
deedbot: accepted: 1
lobbes: finally:
lobbes: !!deed http://lobbesblog.com/billing/2017/q2/mircea_popescu.txt
deedbot: accepted: 1
mircea_popescu: lobbes do you take ecu ?
lobbes: I do!
mircea_popescu: meet in game then.
lobbes: k
ben_vulpes: noches
ben_vulpes: in re benchmarking, is 'perf' a reasonable thing to use? ☟︎
BingoBoingo: <mircea_popescu> whereas gasoline generator only really works well as a 50kw+ item << Biggest problem with gas for backup genset is doesn't store well
BingoBoingo: Unless you go full synthetic on the fuel and they why the fuck not drill for natural gas then
BingoBoingo: <asciilifeform> mircea_popescu: afaik there is no konsoomer nife. there are only industrial. << In UK "consumer" sets are being marketed for solar crowd
sina: hola
ben_vulpes: sina: got any better ideas for comparing program runtimes than perf?
sina: ben_vulpes: dtrace?
sina: gprof?
sina: I heard good things about systemtap but never used it myself
sina: ben_vulpes: what is wrong with perf for your usecase?
ben_vulpes: sina: i wouldn't know, is why i'm asking
BingoBoingo: Isn't dtrace that Sun Microsystems thing that came with Solaris 10?
sina: BingoBoingo: yah
sina: it's pretty awesome
sina: you can run it on fbsd
sina: systemtap is basically "dtrace for linux" I guess
sina: but again, I haven't used that one
sina: mircea_popescu: around? any time to play with gossipthing?
sina: ben_vulpes: can we roll back and start at the usecase?
ben_vulpes: why to compare mpfhfhfhfhfhfs!
sina: ben_vulpes: oic. and why not just using black box testing?
sina: e.g. "how long does it take to hash document of N bytes size in M bits hash" with varying N and M?
ben_vulpes: ...
ben_vulpes: yes
ben_vulpes: eg runtime?
sina: is that all you want to measure? why not just use `time` then?
ben_vulpes: something something not great subsecond resolution or so the various reddits say?
ben_vulpes: obvious counterargument is that "don't bother with subsecond executions, dork"
sina: well
sina: here is the thing, it depends on how anally you want to measure
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: so if you really want super precise, apples <=> apples comparison, you would need to instrument performance on a per lang basis, no?
sina: of the main loop iterating through M
ben_vulpes: no i do intend to black box it ☟︎
ben_vulpes: runtime startup is a cost of the program, innit?
sina: depends!
ben_vulpes: mk go on, on what does it depend
sina: if I make an mpfhf daemon, then no
sina: (for example)
ben_vulpes: aye
sina: that might be a fairer blackbox test?
ben_vulpes: anything else?
ben_vulpes: lol, well, depends!
sina: well, I dunno too much about lisp, does it "JIT" for long running programs?
ben_vulpes: i wouldn't keep a lisp runtime hanging around just on the offchance i want to hash things
ben_vulpes: i've no idea what you mean by that in this context
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.
sina: for example, pypy is much faster than cpython for long running programs, because it Just In Time compiles
sina: same as LuaJIT vs Lua
sina: right
ben_vulpes: faster in steady state runs or faster to compile?
sina: faster in the run because its no longer "interpreting"
sina: its reading something closer to native compiled code
ben_vulpes: dun think that's really in play here
sina: ben_vulpes: http://wotpaste.cascadianhacker.com/pastes/wBiP0/?raw=true
sina: as an example
ben_vulpes: buddy how do you think i've been comparing things?
ben_vulpes: a stopwatch?
sina: ben_vulpes: sorry. I am referring to pypy JIT vs python
sina: just as an example of "anything else?" re "depends!"
sina: <+ben_vulpes> runtime startup is a cost of the program, innit? <<
ben_vulpes: sina: how does the paste relate to the JIT thread?
ben_vulpes: "cython wouldn't know the input type without chasing pointers all over the place"?
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
sina: my point was, either you *really* care about evaluating the actual main loop, which is a fair apples/apples
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: y/n?
ben_vulpes: ah yeah i thought we'd put that thread to bed with http://btcbase.org/log/2017-07-02#1678389 ☝︎
a111: Logged on 2017-07-02 04:33 ben_vulpes: no i do intend to black box it
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
ben_vulpes: could, yes
sina: anyway, it does sound like `time` should be fine
ben_vulpes: adequately 'apples' from my pov; not particularly interested in imaginary performance comparisons of subsets of compiled programs
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: it does sound like lisp is doing something JIT-like, except you can "re-JIT" at any time during execution?
ben_vulpes: sbcl lays down asm? ☟︎
sina: ah ok
ben_vulpes: i think
sina: ben_vulpes: did you use sbcl the other day when you mentioned golang impl was faster than lisp impl?
sina: cos that'd be pretty interesting
ben_vulpes: definitely has hooks for disassembling a given function, so it would be nice if it also compiled *to* asm
ben_vulpes: sina: aye, i did
sina: hmm
ben_vulpes: go's some 3-4x faster incl. runtime
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
ben_vulpes: myeah 'tis what i'm thinking
ben_vulpes: well who knows, who'm i to make guesses like that
ben_vulpes: but i am definitely interested to see how performance plays out on large sets
sina: ben_vulpes: will you include pypy?
ben_vulpes: could yeah
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
sina: can leave me a note with anything you require
ben_vulpes: mk neato
ben_vulpes: no rush
ben_vulpes: i'm well supplied with compute tho, thx
sina: cool
sina: well
sina: I am out. hope all have a wonderful day
ben_vulpes: in other optimizations: https://i.imgur.com/h7WcmU5.gifv
deedbot: http://www.contravex.com/2017/07/01/le-150ieme-partie-i/ << » Contravex: A blog by Pete Dushenski - Le 150ième – Partie I
mircea_popescu: ben_vulpes or you could just instrument your impl to read time at start and end ?
ben_vulpes: sure
mircea_popescu: i'd call it good
ben_vulpes: you mean start and end of actual hashing routine?
ben_vulpes: why disregard runtime startup time? ☟︎
mircea_popescu: because you're timing the actual impl.
ben_vulpes: hm
ben_vulpes: not "unix tool as it may or may not be used in the future"
mircea_popescu: nobodyu cares about shitix.
ben_vulpes: rightright
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: heh
ben_vulpes: well if i time just the hash impl it does squeak in under the go implementation
deedbot: http://qntra.net/2017/07/bitcoin-network-mining-difficulty-drops-0-43-percent/ << Qntra - Bitcoin Network Mining Difficulty Drops ~0.43 Percent
ben_vulpes: BingoBoingo: gotta a grass q for ya
ben_vulpes: mulch or compost?
BingoBoingo: Your lawn? Compost. Don't mulch your lawn, it needs to breath. ☟︎
BingoBoingo: !~ticker --market all
jhvh1: BingoBoingo: Bitstamp BTCUSD last: 2416.74, vol: 10266.02584088 | BTC-E BTCUSD last: 2358.591, vol: 2944.95989 | Bitfinex BTCUSD last: 2333.4, vol: 14881.3570013 | BTCChina BTCUSD last: 2543.63455, vol: 7386.44530000 | Kraken BTCUSD last: 2397.731, vol: 4991.08122316 | Volume-weighted last average: 2402.67930284
ben_vulpes: BingoBoingo: ty
BingoBoingo: your grass is welcome
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: sina if you can get your implementations to print <execution_ms>\n<hash> that'll save me a bit of fiddling ☟︎
ben_vulpes: https://github.com/sinner-/mpfhf-python/blob/master/LICENSE << hey sina ever read http://trilema.com/2015/a-new-software-licensing-paradigm/#selection-75.0-83.128 ? ☟︎
sina: ben_vulpes: now enabled "python mpfhf.py <message> <bits> <time|notime>" (https://github.com/sinner-/mpfhf-python/commit/a8c37e51e3a893785519052f939c222c2178168a) and "mpfhf-golang -message <message> -bits <bits> -time <y|n>" (https://github.com/sinner-/mpfhf-golang/commit/674a502a93c63de8dacbb07e5eb9a62eb5dbee58)
sina: http://btcbase.org/log/2017-07-02#1678478 << re this request ☝︎
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: example: http://wotpaste.cascadianhacker.com/pastes/84afn/?raw=true
sina: asciilifeform: thoughts https://micropython.org/
asciilifeform: sina: garbage
asciilifeform: even let's suppose it weren't python3 ( which it is )
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
asciilifeform: and to have folx suppose that i somehow want to perpetuate it.
asciilifeform: and, worse, to introduce it to places that happily worked without idiotic interpreter ( e.g. microcontroller ) at all
asciilifeform: http://btcbase.org/log/2017-07-02#1678460 << how about we roll the boot time ( to shell!! ) of your cmachinekernel, how about? ☝︎☟︎☟︎☟︎
a111: Logged on 2017-07-02 06:06 ben_vulpes: why disregard runtime startup time?
asciilifeform: if counting lisp runtime load, why not the c runtime.
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 ) ☝︎
a111: Logged on 2017-07-02 05:05 ben_vulpes: sbcl lays down asm?
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.) ☝︎
a111: Logged on 2017-07-02 03:58 ben_vulpes: in re benchmarking, is 'perf' a reasonable thing to use?
asciilifeform: ( see 'blackhole revealer' discussion from coupla mo. ago )
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 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: imho oughta be hexascii like earthlings use ☟︎
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)
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)
ben_vulpes: http://btcbase.org/log/2017-07-02#1678500 << possibly artifact of how my first prototype did output; easily changed ☝︎
a111: Logged on 2017-07-02 13:01 asciilifeform: imho oughta be hexascii like earthlings use
ben_vulpes: or no, it dates to his prototype
ben_vulpes: but if you'll excuse me, i'm going to go make a hash of breakfast
asciilifeform: btw ben_vulpes your mphash seems to use some shitlibrary that 1) i dun have 2) won't install via quicklisp ☟︎
mircea_popescu: http://btcbase.org/log/2017-07-01#1678237 << and you're running it ☝︎
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"
mircea_popescu: http://btcbase.org/log/2017-07-01#1678246 << total fucking insult to the heavens. ☝︎
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: sina "The Bitcoin network has more than 6,000 nodes," << lost interest at that point.
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: 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: (you are aware, yes, usg vulnerable to nuclear blasts, latest studies show ?)
mircea_popescu: http://btcbase.org/log/2017-07-02#1678472 << word. ☝︎
a111: Logged on 2017-07-02 07:11 BingoBoingo: Your lawn? Compost. Don't mulch your lawn, it needs to breath.
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:58 ben_vulpes: https://github.com/sinner-/mpfhf-python/blob/master/LICENSE << hey sina ever read http://trilema.com/2015/a-new-software-licensing-paradigm/#selection-75.0-83.128 ?
mircea_popescu: but other than that, looks like exponential on mlen and perhaps linear on hlen ?
asciilifeform: exponential on mlen << that dun look good...
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: if can't hash a 1GB message , or even 1MB, in less than geological time -- not very useful, sadly, algo
mircea_popescu: asciilifeform i can't really visually saw that appart, but looks like it's a hlen ** b mlen or such.
asciilifeform: ( a 512byte msg doesn't need to be hashed... why would you )
mircea_popescu: asciilifeform useful for different things. apparently all of modern computing comes to "adjust your expectations". what do you need 1gb codebases for ?
mircea_popescu: a right, nothing.
asciilifeform: mircea_popescu: think back to what is the point of a hash to begin with
mircea_popescu: vpatches seem historically to go about 512 - 65535 bytes or so
mircea_popescu: if that'd covered, i'm happy.
asciilifeform: originally algo ( in the 1st , ancient version, suggested by asciilifeform in http://btcbase.org/log/2016-12-24#1589879 thread ) was to destructure inputs for rsa signing ☝︎
a111: Logged on 2016-12-24 01:02 asciilifeform: incidentally, since (to borrow the lament of turing's school headmaster) 'the room already stinks of mathematics', i'll share a tidbit that i promised folx some half year ago and promptly forgot:
asciilifeform: ( what the derps call, maliciously misnamedly, 'padding' )
asciilifeform: that op doesn't even need much more than a kb or so
asciilifeform: 1 of the things i've been curious re mphash is bits-of-message-touched vs message-length
asciilifeform: and bits-of-output-flipped-per-bit-of-message-flipped vs message-length.
mircea_popescu: should be measured yes.
asciilifeform: also ( and should be theoretically possible to calculate ) what is the worst-case cycle count.
mircea_popescu: and in other lulz, #trilema OODA loop : "hey, make an X" "what kind an X ?" "JUST MAKE AN X!" *picks arbitrary params a through w, makes such an X. "here you go" "o cool, now set b to this and q to that, link l to k and make c double d" "here." "holy shit the submarine now flies! and lays eggs! good job man!"
mircea_popescu: asciilifeform what's the 1kb figure ?
asciilifeform: really a few kb
asciilifeform: depending on rsa modulus length
mircea_popescu: right.
asciilifeform: ( N bit rsa modulus carries 'naked' payload of N bits )
mircea_popescu: yes.
mircea_popescu: basically, there's a large number of perfectly useful applications for 64kb capable hash. and upon examination it may be discovered that larger sizes not supported is not a bug
mircea_popescu: but a feature.
asciilifeform: can -- if you must -- merkle tree
mircea_popescu: or other things. and if you don't must, you FUCKING DIDN'T NEED THE GB.
mircea_popescu: large part of usgization of normal processes. "oh, does your msg app support VIDEO ?" bitch, i don't want to watch overweight dudes with their cats braying into a mic.
mircea_popescu: "but this would make it take mbps to use!" "right."
mircea_popescu: "does it at least support unicode ?" "no. you may not teach reading to arabs, it's a sin."
asciilifeform: btw here's another ! , potentially similarly bowel-loosening ! ( to the usual suspects ) hash algo on entirely different principles :
asciilifeform: 1) generate a single-use rsa public modulus, M
asciilifeform: 2) take the payload bitstring P, and calculate E = nextprime(P)
asciilifeform: 3) E is now your public exponent !!
mircea_popescu: this is computationally worse than mpfhf though. imagine, nextprime(todays log).
asciilifeform: actually not so bad.
mircea_popescu: if you have a hardware gmp or something
asciilifeform: no, even on pc.
asciilifeform: try it sometime.
asciilifeform: anyway i'll omit steps 4-6 and leave as exercise.
asciilifeform: but theoretically this scheme -- while algebraic -- is as strong as the rsa used in the wrapping layer.
mircea_popescu: this aside ; i'm kinda loath to mix rsa in both padding and encryption. for all anyone knows they resonate
mircea_popescu: (above is pure magical thinking)
asciilifeform: if you were to use == keys -- they actually would
asciilifeform: but you wouldn't.
mircea_popescu: trivial cases aside. may be hidden class there
asciilifeform: there's a (sadly nameless) principle, where a thing that ~someone else~ could easily do to your ciphertext, is not any added problem if you do it yourself
asciilifeform: ( 'someone else' being someone with 0 knowledge of the plaintext, naturally )
mircea_popescu: certainly.
asciilifeform: funnily enough, last time we had a related thread, i looked for it in schneier 1995 where i THOUGHT i learned it
asciilifeform: and -- mega-surprise -- it ain't there...
mircea_popescu: original printed material ? or did it get expunged ?
asciilifeform: original
mircea_popescu: weird.
asciilifeform: it was never there
asciilifeform: i have nfi where, if anywhere, it lives on paper.
asciilifeform: possibly i dreamed it.
mircea_popescu: anyway -- if you're making both the payload and the hash on the same machine...
mircea_popescu: asciilifeform it's well known, i had conversations re this in 2012. prolly can fish out quote.
asciilifeform: lol why not 'on the same street'
mircea_popescu: asciilifeform have you seen the rngs ?
asciilifeform: mircea_popescu: i can't imagine it wouldn't be well known. but i was digging for a 'schoolbook' description of it, which i thought existed.
mircea_popescu: this incidentally is a very undiscussed topic, suspiciously. what is the effect of generating BOTH the padding for a message and the key that's used on the same... historical debian / kochatron /etcv
asciilifeform: mircea_popescu: one nuance is -- it is folly to plan FOR a broken rng. 'what to do if a shell lands in my trench? jump twenty metres and scatter yerself around'
asciilifeform: the plan 'for broken rng' is to have 7 running from 7 batteries.
mircea_popescu: this is true.
asciilifeform: 'jesus bolt'
mircea_popescu: was jesus nut neh ? heli thing ?
asciilifeform: aha yes
asciilifeform: the item that holds the airscrew on.
mircea_popescu: ya. nut.
asciilifeform: incidentally theoretically you don't need the nextprime(), all you need is to compute that gcd(e, p-1) == gcd(e, q-1) == 1.
asciilifeform: ( if it isn't -- make a new e, or a new m=p*q, whichever you prefer... )
mircea_popescu: http://trilema.com/2015/sooo-fetlife-is-butthurt/#comment-122323 in other lulz
mircea_popescu imagines alf's 7-prop helicopter...
deedbot: http://trilema.com/2017/qntra-sqntr-june-2017-statement/ << Trilema - Qntra (S.QNTR) June 2017 Statement
asciilifeform: mircea_popescu: http://btcbase.org/log/2015-03-31#1080340 << we had thread ! ☝︎
a111: Logged on 2015-03-31 02:52 asciilifeform: i will now take the liberty of calling the hypothetical machine 'freyacopter'
mircea_popescu: flies equally well through molasses!
deedbot: http://www.contravex.com/2017/07/02/le-150ieme-partie-ii/ << » Contravex: A blog by Pete Dushenski - Le 150ieme – Partie II
jurov: http://www.explo.yt/inspirobot.jpg << tmsr got its motto?
ben_vulpes: http://btcbase.org/log/2017-07-02#1678507 << "bit-smasher"? came in from ql just fine for me. i only use it as a crutch to beat strings into bit-vectors. ☝︎
a111: Logged on 2017-07-02 15:36 asciilifeform: btw ben_vulpes your mphash seems to use some shitlibrary that 1) i dun have 2) won't install via quicklisp
mircea_popescu: consider importing just the function / class you use
asciilifeform: ben_vulpes: i haven't 'updated' ql since 2011 and never again intend to !
asciilifeform: hence no shitbitter or wateveritwas
mircea_popescu: updates. never again.
asciilifeform: no genderolade kthx.
ben_vulpes: yes this refrain does ring a few bells
ben_vulpes: i will probably just implement the slice that i actually need
ben_vulpes: in other news, 65536 byte message, 256 bit hash took some 2.47 hrs