log☇︎
66000+ entries in 0.026s
mircea_popescu: 2/3 by weight.
mircea_popescu: asciilifeform monel is nickel.
mircea_popescu: but it does share silver qualities, ie easily fabricable.
mircea_popescu: i dunno, maybe. i've little experience with the item.
mircea_popescu: nickel ?
mircea_popescu: because very expensive to work, for instance.
mircea_popescu: for your actual needs, silver kbd much better than steel, if you're going to go metallic (which, not great idea in first place).
mircea_popescu: silver you can work with hammer ; steel must be drop forged. and so on.
mircea_popescu: surgical steel works at 2700 degrees. silver at 700.
mircea_popescu: yes well, guess what, your model & kbd is also not like scalpel.
mircea_popescu: i ate off my great-grandfather's set, still clean as the day in 1870 it was made.,
mircea_popescu: tarnished ?
mircea_popescu: you ever had silverware ?
mircea_popescu: and so on.
mircea_popescu: asciilifeform silver dun tarnish lol, there's such a thing as proper silver. and it has low melting point and easy to work and it doesn't grow fungi.
mircea_popescu: run of the mill pantsuit idiocy, but then suddenly "Es que en Rumanía todos se llaman Mircea Popescu. ¿Sabes?"
mircea_popescu: and in other random lulz, http://www.elmundo.es/cataluna/2017/09/12/59b6dd77468aeb545d8b4583.html
mircea_popescu: and finally 3. the item there described is not exactly a function. it rather something i'd call a mechanism, a discrete item that does a fully defined thing. as we're looking more and more through ada eyes and constant time things and so on, a study of these mechanisms as an distinct category will prolly be useful. somewhere between conway's cells and commandline utils, they are. ☟︎
mircea_popescu: 2. a fine example of how "i work for the web man" rots the brain, is that in an implementation of the above discussed mod-distributiver, the "common" consensus impulse would be to add a test, make sure the list elements respect the condition of <modulus. this however is very much the wrong thing ; and it is a tmsr-graduate level question to explain why and wherefore. ☟︎
mircea_popescu: 1. if you actually want metal kbd, your choice of steel is probably ill advised. i'd try silver instead. heuristicallyt there's a reason gunsmiths and silversmiths were ~the same people i nthe early modern period ; moreover silver has better properties in the range sough. ☟︎
mircea_popescu: anyway, three points since i got a blowjob and apparently this inspires me.
mircea_popescu: asciilifeform im pretty sure i read the whole knuth as a teen, so it's likely just memory at work.
mircea_popescu: but that inconvenience is not the same as the "Same number of cycles" claim.
mircea_popescu: !#s "THE PROBLEM WITH MATH"
mircea_popescu: heh
mircea_popescu: i'll take your word for it if you say so ; i've not looked at them closely in comparison.
mircea_popescu: i dunno about that.
mircea_popescu: this holds for arbitrarily large numbers, and i suspect will be faster than classical.
mircea_popescu: same thing.
mircea_popescu: if you want constant time, you feed the list 9, 0,0,0,0,8,0,0,1. it will do 18, 1, 18, 1, 18, 1, 18, 1 etc.
mircea_popescu: and now we know 137 mod 17 is 1.
mircea_popescu: so now we feed my procedure above : 9, 8, 1. it returns 18, 1, 18 ie 1.
mircea_popescu: ok. ima just take the 137 tail cuz lazy. 137 is 10001001. we have precalculated that 128 mod 17 is 9, and that 8 mod 17 is 8, and that 1 mod 17 is 1
mircea_popescu: say a number.
mircea_popescu: 1bit
mircea_popescu: you just add literal 1s.
mircea_popescu: so you have a very simple case.
mircea_popescu: precompiled list of all powers of two is then 1.
mircea_popescu: ok.
mircea_popescu: asciilifeform if this is true, then the above method should be way faster.
mircea_popescu: i personally like the formalism of it ; but whatevs.
mircea_popescu: well i have nfi, haven't profiled the thing.
mircea_popescu: whether this approach is actually faster than the current mod of 97 as implemented via knuth is open to discussion, i guess.
mircea_popescu: consider the number 97. is is 1100001. they do mp_mod (2^6, 2^5, 2^0) ; you can do (2^6, 2^5, 0* 2^4, 0* 2^3,0* 2^2,0* 2^1,2^0). the list method will sitll work, but this time in constanttime.
mircea_popescu: at all.
mircea_popescu: you don';t have to index.
mircea_popescu: it's not automatically bad just for being a list ; you don't have to pare it down.
mircea_popescu: but the important point re that, is that whenever they use a reduced matrix we can STILL use the ufll matrix!
mircea_popescu: aha.
mircea_popescu: this may or may not be cheaper ; but in general you would build a list of the pre-calculated mods of all the powers of 2 up to your bitness and save that to save on work.
mircea_popescu: it is also extensible in the sense that if you wish to compute the mod of a 512 bit number, you can cut it up into as many powers of two as there are 1's, feed it into this, and get a modulus.
mircea_popescu: asciilifeform well, modulus bitness sum as opposed to N bitness sum. but sure.
mircea_popescu: but the original idea was that it is indeed cheaper to mod the parts than the whole sum.
mircea_popescu: but it certainly holds for all ints.
mircea_popescu: well, i dunno how expensiuve addition is and how much it adds to the mod.
mircea_popescu: no need to even define length of list.
mircea_popescu: in any case : you run it until same length list ; smallest int on it will be the correct mod. always terminates, always constat time etc.
mircea_popescu: put numbers in here, i'll do it for you if you wish,.
mircea_popescu: try it yourself!
mircea_popescu: though it never added 1433293 +7926803 +9266137 ; it added 6 and 9 and 15.
mircea_popescu: you feed into my above function the list 6, 9, 15. it adds them : 30. it then writes down 30 -17 ie 13. it then writes down 13 + 17 = 30. it has peroduced a list as long as the original (3 elements), among which the SECOND is the modulus of 1433293 +7926803 +9266137
mircea_popescu: you can ALSO do : 1433293 mod 17 is 6 ; 7926803 mod 17 is 9 ; 9266137 mod 17 is 15.
mircea_popescu: 18626233 which mod 17 is 13
mircea_popescu: now then : you could do 1433293 +7926803 +9266137 =
mircea_popescu: ty.
mircea_popescu: smallints confuse the issue.
mircea_popescu: 8 digit numbers plox.
mircea_popescu: tell you what, you shoot three values.
mircea_popescu: let's take fucking numerical examples already. a = 349087340 ; b = 1209843095 ; c = 753059056. mod = 17. << final!
mircea_popescu: how did i mash a random number mod 7 already.
mircea_popescu: you can ALSO do : 349087340 mod 7 = 0 holy motherfucking crap omfg what is this.
mircea_popescu: you could do a+b+c = 2311989491 mod 7 = 0.
mircea_popescu: trivial case, not my intention.
mircea_popescu: cuz first two are 0's.
mircea_popescu: let's take fucking numerical examples already. a = 349087340 ; b = 1209843095 ; c = 753059056. mod = 7.
mircea_popescu: bad list
mircea_popescu: let's take fucking numerical examples already. a = 349087340 ; b = 1209843095 ; c = 753059056. mod = 5.
mircea_popescu: you don't do that.
mircea_popescu: what!
mircea_popescu: and what it spits out is the (a+b+c) mod x.
mircea_popescu: not the a itself.
mircea_popescu: what you feed to this algo is the a mod x
mircea_popescu: yes.
mircea_popescu: happy nao ?
mircea_popescu: will necessarily have the modulus of the sum. this entire procedure is constant time.
mircea_popescu: alrigthy, so. you take a list of numbers. you add these numbers. you write the result down. you compare this result with the modulus. if the result is smaller than the modulus, you add the modulus to it and write it underneath ; if larger, you substract the modulus and write it underneath. you repeat this step until you have a list of added/substracted moduli to the result AS LONG as the original list of elements. in it, you
mircea_popescu: 1sec
mircea_popescu: alright. then let me tell you how to do it, and if you fucking say you did it in july ima buy a plane ticket and hang you by the tallest petard.
mircea_popescu: is it true or is it false that you understand how to make modulus calculations distributive wrt addition ?
mircea_popescu: now back to the issue. 1. is it true or is it false that currently sums are calculated before the modulus of the result is calculated ?
mircea_popescu: asciilifeform is the plan here to just keep adding reading material paper over fire ?
mircea_popescu: so, the paste is a division.
mircea_popescu: i read it befoar. but sure, why not.
mircea_popescu: well, let's try and salvage this nonsense through the mafgic of yes and no questions.
mircea_popescu cheated, had blackforest cake isntead of water.
mircea_popescu: go have a glass of water, this is unstable.
mircea_popescu: <mircea_popescu> "it" in 3 is mod ? or what ? asciilifeform> aha mod asciilifeform> i was speaking specifically of the division algo
mircea_popescu: but, what you say on this topic is in some proportion not true.
mircea_popescu: and congrats, you've closed the liar circle on yourself. the only task remaining is to establish whether alf lied when he claimed that mp's distributive-mod algo is already in his ffa since july ; or rather he lied when he claimed distributive mod would actually be useful ; or at some other juncture.
mircea_popescu: "it" in 3 is mod ? or what ?