23300+ entries in 0.139s
mod6: btw... jurov and I are working on relocating the bitcoin.foundation website to the foundation's server in Pizarro. We're gonna get it set up, and test before we announce
a cut-over date. Smooth transition, ftw.
mircea_popescu: in
a word, ave1 : don't be shy. there's
a time to be shy, but when they bring out the playdo's not that time. shove it up shirts, see what happens.
mircea_popescu: this might be useful, but i'm not putting
a 2nd slavegirl on this galley.
mod6: Is there
a feature where it'll ring to person 1, and if person 1 does not answer, it'll roll to
a different number?
mircea_popescu: wait, wait. there's
a chick with ye olde metal probes making contacts on the board ?
mod6: Ok cool, it works. I think my problem is that i dialed
a "1" in front of the entire number.
BingoBoingo: mircea_popescu: This would be my first if it happens. My read is there's still time for National Party to get their shit together for the impending election. They have
a celebrity MUGA candidate officially announcing in
a few weeks.
ave1: the painfull part was at the start when I did not know that crc used
a reversed bit order and did not understand that the initial register has to be xored with the message (and not used as
a kind of prepend)
ave1: if
a message is 1 byte, of the 4 bytes to append, 3 will have to be inverted (initial operation on register)
ave1: asciilifeform, Bit31 is in
A, it needs to be shifted in on R
ave1: I know, it was more
a description of how my memory was playing tricks on me
ave1: asciilifeform, I was looking for mux just now in ffa just now and I came by the add_gated which uses
a different method,.
diana_coman: ave1, thank you, I'll look through it in more detail
a bit later today
a111: Logged on 2018-10-12 09:00 mircea_popescu: there's absolutely no excuse for having "urandom" as
a kernel signal. applications that both
a) care about entropy debit over time and b) can get away with substituting shit for entropy should simply manage their entropy/shitropy interface in
a dedicated thread. let it read from /dev/random, add however many bits of 11110000 they want whenever they want to and vomit the resulting cesspool as the app that spawned them demands.
a111: Logged on 2018-10-12 08:40 mircea_popescu: this creates
a flow issue ?
diana_coman: you might want perhaps to add
a call + check to it in the tests too?
diana_coman: keeping it separate certainly makes sense (so that it's not
a mandatory piece in there) but if it's code it's still basically under V that it belongs
ave1: I'll make it
a vpatch later today...
diana_coman: ave1, why not add it as
a .vpatch on the eucrypt tree?
mircea_popescu: there's absolutely no excuse for having "urandom" as
a kernel signal. applications that both
a) care about entropy debit over time and b) can get away with substituting shit for entropy should simply manage their entropy/shitropy interface in
a dedicated thread. let it read from /dev/random, add however many bits of 11110000 they want whenever they want to and vomit the resulting cesspool as the app that spawned them demands.
☟︎ mircea_popescu: (but, importantly, /dev/random === /dev/urandom is
a fundamental ideological patch. fuck the fucking idiocy!)
a111: Logged on 2018-10-11 19:59 phf: but it also seems that before that becomes reality we either have to patch linux kernel or implement
a rng daemon or somesuch
a111: Logged on 2018-10-11 19:36 phf: asciilifeform: nah, you want
a random seed always, because you're trying to avoid race by producing
a least likely collision. the race will always exist between existance check and initial creation
a111: Logged on 2018-10-11 19:34 asciilifeform: phf, bvt : i thought of
a possible algo for sane tmp file creation that dun need rng or global counter. 1) pick
a file name in tmp dir, if none exists, take empty string, as string S 2) produce S' = H(S) , H is hash (e.g. keccak) 3) stat(S') ; if already exists, take S'' = H(S') and repeat .
mircea_popescu: BingoBoingo ahaha, ever been in
a military coup before ?
trinque: phf: appears to have worked; give it
a shot
bvt: i will have
a look at what primitives i need for the implementation today and tomorrow, and will come back here if i get stuck on something.
phf: tmp file gets created when you have any sort of patching operation, gets cleaned up when you no longer need it. but you could conceivably have it for the duration of the runtime. (except instead of doing file move at the end of
a single file patch, you do file copy)
phf: asciilifeform: oh yeah it is, hash
a bunch of random stuff, check for collision. that's the pragmatic solution. i'm talking about the take aways
phf: but it also seems that before that becomes reality we either have to patch linux kernel or implement
a rng daemon or somesuch
☟︎ phf: asciilifeform: i believe that was the real conclusion of yesterday's conversation: you want easy access to
a real rng from any republican process at any time, and that makes
a lot of idiotic problems go away
phf: bvt: as of right now there's only one temporary file at
a time during
a vpatch run, so you're essentially in the same situation temp file name or temp directory anme
bvt: perhaps better way would be to create
a temporary directory (for which there is atomic create-or-die) at the vpatch start, and place all temporary files there?
phf: asciilifeform: counters exhibit exactly the same problem as
a non-random seed
phf: asciilifeform: well, temp_file_name makes
a temporary _name_, if you're relying on an atomic create, then you need to change the interface, where you try and create
a temp file, and then bail. in that case though you don't even need any randomness. just use
a counter
bvt: there is
a recent linux O_TMPFILE flag to open(2), but i'm not sure we want to use that
phf: asciilifeform: nah, you want
a random seed always, because you're trying to avoid race by producing
a least likely collision. the race will always exist between existance check and initial creation
☟︎ phf: bvt: this doesn't need much C, it's
a loop with
a termination condition of not Ada.Directories.Exists(Filename), and the tricky part is the construction of said Filename. it could be
a Prefix ("vpatch.") + keccak hash(salt + pid + time + ???).
bvt: i will give it
a try. i'm still learning ada, will have to take
a look at how strings and interfacing with C are done properly.
phf: bvt: you know you could take
a stab at proper temp_file_name :> it'll have to be written anyway, to fix this bug. i suspect by the time someone else runs into this issue,
a replacement will already be available.
phf: i've used
a variety, including the two you mentioned. ave1's, adacore 2016 and 2018 on linux and mac
phf: well, it's also
a reason why bug wasn't caught in development.
a sequence of wtfs: linux man page says mktemp should be 3 or more X's, so project builds on
a non-musl build. meanwhile POSIX mandates there to be exactly 6 X's, so
a musl build fails to produce
a random string, returning instead
a blank one, which is when gnat decides to not only generate
a temp file but also do cleanup.
bvt: that was
a wtf moment for me, i'm not used to such service from the runtime
phf: i like that ada will create
a temp file for you and then clean it up on empty string, though that's
a bit too magical (the interface, not the behavior)
lobbesbot: phf: Sent 1 hour and 48 minutes ago: <asciilifeform> i recently found that lcd panel made by (defunkt) 'pixelqi co', pq3qi-01 , is still sold by chinese ( i have nfi if clones, or old stock ), ~100 $ ea; the thing toggles from 1024x600 colour/backlit into
a 3072x600 greyscale reflector thing, worx with various lappies ( sadly not x60, it's
a 16:9 )
phf: bvt: i think the conclusion of yesterday's thread was that using mktemp is
a bad idea, and that it's better to rewrite temp_file_name to be self contained, i.e. get rid of mktemp pragma and have temp_file_name do its own random string/stat loop
bvt: 2. Ada internally uses mkstemp(3) to generate
a random name when empty string is passed as filename to Open procedure.
Mocky: unrelatedly, i saw the craziest thing leaving the air port. there are
a lot of indian dudes around doing public works type labor jobs. landscaping, pickup up trash, construction etc. I saw one, and i swear he was mowing the grass with
a chain saw, all squatted down. now maybe he was cutting something else, but there was nothing else there! and damn if the that lawn wasn't pristine as
a golf course
Mocky: with >80% foreigners all speaking english, the Qataris fear becoming ESL. signage is dual language because Arabic is mandated. in 2012 they passed
a law mandating universities switch from english to arabic for all degree for all degree programs other than sci/eng/med. in 2016 further law mandating arabic for gov agencies, contracts, schools
BingoBoingo is very disappointed that there is
a botique named Prussia
a few doors down from my building that sells women's clothing when it should be selling men's protective headgear
BingoBoingo: Then there's the all English menu at the Burger King, which is
a mindfuck because it can't be used without substituting spanish vowels for the English oness
mircea_popescu: "It was surreal having such
a minimal and distant experience of so many places Ive only heard about before." << ahaha pretty great line.
mircea_popescu: "APOLOGIA PRO NOMINE MEO. Out of consideration (in part) to such readers as may read this book I have assumed
a name by which they may refer to me (if ever he or she may wish to do so kindly) in the same manner at least twice running--
a feat of pronunciation which few of my English acquaintances have performed with my natal name. But there is also another reason, considerate of the author. I have been told that there are writ
mircea_popescu: funny how rereads work! so back in 2013, i think all
http://trilema.com/2013/the-doctrine-of-total-depravity/ is "religion is bs". but today -- all it really says is that protestantism has fuckall to do with any kind of abstract faith. it was attempt to organize takeover from day one and naught else. the only protestant faith really is
a sort of half-republic, "this is the instrumentality of taking over". nobody among their r
mod6: I will be looking for
a new place to host after my contract is up in november.
mircea_popescu: this'd make
a great sf-ish story : archeologist in far future uncovers remains of lost intergalactic civilisation,