593 entries in 0.219s
bvt: asciilifeform: i think closing would necessary (not done right now, as i can see); re proggy - nothing complicated http://paste.deedbot.org/?id=4XUj (merged two for convenience, so fd num will be different)
bvt: asciilifeform: re SO_REUSEADDR - i don't see how it is applicable: as i understand errno 106=EISCONN the kernel believes that the socket is still connected (perhaps socket.timeout case in send()?); so if you proceed to connect without closing it, you'd get double connect on the same socket; and SO_REUSEADDR does not protect against this: http://paste.deedbot.org/?id=Zd3l
bvt: ty; i wanted to download them via wget on remote machine, discovered bunch of .sig.1 files
bvt: asciilifeform: the links to diana's sigs in your logotron post are wrong: http://paste.deedbot.org/?id=aYq7
bvt: http://logs.nosuchlabs.com/log/trilema/2019-09-07#1934465 - from the point of view of achieving perfection - it definitely should be included. From the practical point of view -- noone would notice.
bvt: i did not switch to the newer keccak code, as this would not solve underlying issue: vdiff would still crash with large files, just the limit would be 8x larger
bvt: ty. spyked, diana_coman : i fixed the problem with keccaking large files in vdiff here http://bvt-trace.net/2019/07/vdiff-vpatch-blockwise-keccaking/
bvt: would not work: http://btcbase.org/log-search?q=time+man vs http://logs.nosuchlabs.com/log-search?q=time+%22man%22&chan=trilema
bvt: ty for rating!
bvt: asciilifeform's searcher matches 'many' when looking for 'man', produces too many results to filter through all of them (thought the line was there too)
bvt: i kind of remembered that it had something with to do with percentages, this surfaced out mod6's message; when you mentioned that the result is still ~wrong, remembered that it had something to do with "man who invests X% of time into empire...", used phf's log for a keyword search.
bvt: more precisely, http://logs.nosuchlabs.com/log/trilema/2019-03-04#1900385
bvt: diana_coman: ok, http://btcbase.org/log/2019-03-04#1900385 ? ☝︎
bvt: yw
bvt: hello. asciilifeform: answered your comment. diana_coman: the logline you were looking for seems to be this: http://logs.nosuchlabs.com/log/trilema/2019-03-19#1903465 , as a rephrase of http://logs.nosuchlabs.com/log/trilema/2018-11-10#1870880 discussion
bvt: mircea_popescu: i don't think it will lead to any vulnerability or something of this sort, no; but still there is a question of what the early users are (i.e. something in net stack, that will stick for a long time?)
bvt: asciilifeform: actually it may be easy to find early users with ftrace=function ftrace_filter=*random* at kernel command line, and then get the users out of tracefs
bvt: the O ring needs to be initialized somehow, zero-filling it may be bad, and keeping the existing infrastructure for just boot-time entropy collection is not an option; should i look for something simple that would work for initialization?
bvt: asciilifeform: if you recall, this was my original plan, however i got impression from 'part of kernel & welded shut' here http://bvt-trace.net/2019/08/fg-fed-linux-rng-work-schedule/comment-page-1/#comment-44 that everything should be inside
bvt: one q though, per my reading of the formalization, stretching happens only on I overflow? i.e. if there is a consumer reading from I, preventing it from overfilling, bytes would never fall into O, and stretching is not triggered?
bvt: 2. by tty model of linux, you don't pull data using tty driver, the driver pushes the data though several abstraction layers. i would have grok this stuff as well. there is at least one other driver that needs this functionality (for connecting a screenreader to a tty), so i can figure out stuff by looking at what it does.
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930128 is the correct ref
bvt: http://btcbase.org/log/2019-08-22#1930162 << the plan makes sense, i will implement it. though i intend to start from the 'read data from fg' position, because 1. opening tty devices from kernel without very dirty tricks became possible only in 4.13; ☝︎
bvt: hi, sorry for delay on the linux rng post, it is in fact ~ready, but i need one more day for proofreading
bvt: mp_en_viaje: http://trilema.com/2017/when-did-america-end/
bvt: asciilifeform: can you try curl -s logs.nosuchlabs.com/log | grep --perl-regexp '\x01'
bvt: so far i've been doing everything manually. for 10 vpatches, i would start automating the process. typicall i'd run full test set for each vpatch
bvt: the two things for comparison -- less total number of vpatches at cost of vpatch size, or more vpatches, but smaller ones?
bvt: but again, i think the first to points are more important; the third one has less priority (at least for me).
bvt: in my workflow, each vpatch individually receives full press-build-test cycle; more smaller vpatches can make this process a bit longer and tedious.
bvt: maybe that's too much testing for re-signing, i dunno.
bvt: and i know that when re-signing multiple vpatches, i would have done the same thing individually for each vpatch.
bvt: well when i was re-signing another vtools vpatch at phf's request (for keccak regrind), i did the full re-testing as when releasing it the first time, to make sure that everything is ok.
bvt: there is also an aspect of potential future re-signing work on regrinds, which forces bigger vpatches, but imo the first two are more important
bvt: mp_en_viaje: i think there are two aspects: 1. readability (whether readers would be able to understand what is going on; in that vpatch the changes are local enough); 2. atomicity (whether someone would ever want to have one fix without the other; here my position is much weaker -- perhaps someone would want to have a crash on empty vpatches?)
bvt: asciilifeform: re ctcp, you can spot /me messages in the curl output of your logger: http://p.bvulpes.com/pastes/sUDA5/?raw=true (extra ' 01 ' byte)
bvt: asciilifeform: there is another thing that i just noticed that different between phf's logger and yours: single quote (') is encoded as &#039 in phf's logger, and as &apos in yours -- and &apos happens to be totally broken in links graphical mode (links -g). i can fix this on the links side, but i wonder if this is intended/acceptable behavior
bvt: mp_en_viaje: http://trilema.com/2015/the-mp-suicide-self-evaluation-scale/#footnote_11_59975
bvt: asciilifeform: fished out some info re aws: http://p.bvulpes.com/pastes/koCFa/?raw=true (small patch for musl compat) and http://p.bvulpes.com/pastes/avKyY/?raw=true (build instructions) seem to be it
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-09#1926770 << wb, and gute besserung!
bvt: iirc it is buildable without xmlada and all the crazy deps with some tweaks; at least i did build it once and run one of the examples
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-09#1926692 << there is ~20 years old 'AWS' https://github.com/adacore/aws
bvt: at least it was reiterated here http://trilema.com/2019/so-what-is-the-man-saying/
bvt: lol vintage, from 2019?
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-08#1926500 << i think get your point; though tbh, from my reading of linux it's not clear that urandom uses separate entropy pool, as i understood so far urandom uses the same pool as random, just ignores all 'entropy' measures (i still did not quite load that part in head, so this is not final info).
bvt: asciilifeform: until the day for tcp to die arrives, you'd still have to interact with tcp warts in that or other form
bvt: on posix, don't think there is way out of exposing fds and syscalls
bvt: re pg - yes, you'd have to implement the protocol; and serialization/deserialization is error prone and typically takes lots of code (i.e. too much), agreed
bvt: true, but i don't find '80% of cl argument' too convincing; if want comfort, sure, use cl/python; want hard memory limits and gcc performance, can use ada, it won't be fundamentally dirtier (due to tcp and db stuff), just more boilerplate code
bvt: i would actually expect that pg protocol does not use 0terminated strings. re 80% of CL -- inside of it's implementation you'd find same shit. dunno how it would be different from using heathen libs
bvt: i don't think there is a way out of treating utf8ism as raw bytes, other than finding a heathen library
bvt: i did some minor nginx plugin development -- the linked list approach was not bad, the only op i had to do with actual buffer was splitting it across chains links to insert data between.
bvt: re logotron with arbitrary number of messages - can't you send data in a loop? otherwise the problem touches all levels of net stack -- can't have arbitrary sized packets either
bvt: well, for most of format strings you know the number of formatted elements, right. re memory allocator -- an arena allocator is typically used, and file data can be mmaped
bvt: you still need to format the numbers, etc, but for this can always know upper bound
bvt: asciilifeform: you make a chain (linked list of buffers with content), pass it's head to kernel
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-08#1926442 << the lag is noticable, but i'd say it is entirely usable.
bvt: tbh i would not mind attempting an irc bot in ada, but it seems more like leasure activity so far.
bvt: asciilifeform: did not try myself
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-08#1926433 << you don't actually need to concatenate anything as long as writev(3) is there. whether any gnat lib uses it -- dunno. at least nginx does use it (http://archive.is/QKjvD#selection-2735.36-2861.26), and imo this is a correct approach to the problem -- let kernel do the copying, if it needs to
bvt: http://logs.nosuchlabs.com/log/trilema/2019-08-08#1926429 << well, if you're willing to use heathen libs, there are at least 2 pgsql bindings libs, but dunno about the quality (most likely with gnat.socket inside, yes).
bvt: hello. asciilifeform: i like the new logger, esp the multi-chan support
bvt: hi. i'm back from my travel (incidentally, also from ukraine, though not kyiv)
bvt: maybe this http://danielpbarron.com/2019/the-truth-often-seems-paradoxical/#comment-2713 ?
bvt: hello. i'll be traveling this week, the end result is supposed to be a working trb node; i don't expect that any other productive work will be done otherwise. bvt_away is the account that i may switch to during this time.
bvt: re korzhen, his son's www has english version of the story http://www.korzhan.art/biography.html
bvt: hello. I will try to finish the ffa work from the workplan over next two days. i had some meatspace interference that stole a few work hours.
bvt: mp_en_viaje: https://thelastpsychiatrist.com/2013/01/no_self-respecting_woman_would.html
bvt: mp_en_viaje: i will have a look if i can arrange it -- right now i have another travel scheduled around that time.
bvt: asciilifeform: http://bvt-trace.net/2019/07/todo-items-and-work-plan-jul2019/comment-page-1/#comment-23 re firefly; re kernel blocking, i expect that correctly implemented ring buffer would be immune from the concurrent access interference.
bvt: mp_en_viaje: ty for the comment; i have to go afk now, so most likely vdiff fix will be out tomorrow 2nd half of the day. right now it is at http://bvt-trace.net/vpatches/vdiff_blockwise_read.vpatch (add .bvt.sig for the seal) ☟︎
bvt: i see, when the last person who was there when the isp was set up retires... ; the internet situation in germany is outrageous -- dsl everywhere, highest prices for shittiest quality, providers (2 or 3 that are still there) making sure that no fiber gets to the customers, etc (iirc they invested heavily in copper 'cause "isdn is the future!" in 90ties).
bvt: well, i still have access to irc/inet at saltmine; and working offline is also possible, so i don't waste time in meantime.
bvt: hello. i have also prepared a work schedule document; however internet at my workplace died this week, will post the plan as soon as the internet goes back up; the plan for next two weeks is to get to ffa14b, update asm code to it; after that, i will have a look at some other work.
bvt: phf: if you are still here, one small question: what is the purpose of this line http://btcbase.org/patches/vtools_ksum#L64 ? Fs is not used anywhere later.
bvt: i'd say vienna
bvt: i have never worked with slip, so can't tell right now ☟︎
bvt: re rtc -- i can see that. re network - i guess at some point it may be easier to provide a (first, emulated, later hardwarized) pipe device and write a custom driver to it; basically a high-speed tty that also transfers information about message boundaries
bvt: well, building is actually trivial -- sed 's/aarch64 x86_64/x86_64 mipsel-sf/' build-ada-arm64.sh > build-ada-mipsel.sh ; i'll do a post about this, but this'd be all the technical meat in it
bvt: if you want, can share the tarballs as well. afaik mips also uses zcx by default -- i did not change anything there
bvt: asciilifeform: i have built ave1gnat with mipsel-sf support with a small patch (http://bvt-trace.net/src/gcc-4.9.adacore2016-4-mipsel.diff) -- adacore has snipped those files from their source distribution.
bvt: in case only asm is used, plain comba may be fast enough as well
bvt: you mean, can use just karatsuba?
bvt: re ~2.5x speedup: for 8-indeces-threshold asm comba makes up only ~25% of runtime, rest is spent in karatsuba squaring
bvt: i agree. i played a bit with the code, arrived at slightly cleaner (and sub-1% faster) code for multiplication, seems that the performance is close to the hw limit (at least at 32 Indices Comba-Karatsuba threshold)
bvt: asciilifeform: myeah, i was too fast with sse -- simdifying such loops would be ~impossible.
bvt: now, sse could theoretically help, but there is a question of whether sse operations are constant time (in each generation of intel cpus)
bvt: asciilifeform: perhaps i could get a bit better performance after scrutinizing multiplication code a bit; however i don't think it'll get much faster with current code structure
bvt: the hard part is 'fiat overlord' and being able to dedicate stable amounts of time to republican work, for this i don't have an acceptable answer.
bvt: after ffa I will have a look at other things (like ripping out kernel rng, having another look at gnat-arm64 internals, as it seems there is no ongoing work on this front atm). i expect to get something useful as a result, and maintain it in long term.
bvt: mircea_popescu: i guess that there two components in your question. the easy is ffa: is agree that my ffa-related output is underwhelming for a lord, however 1) i don't expect that it will eat much more time (at ch.14 i'll see if there is really need for further asming, the anticipated answer is "not really") 2) i find speedup from asming generally useful, so i don't think the time i spent on it is wasted. ☟︎
bvt: oh, and re http://btcbase.org/log/2019-04-24#1909684 -- i wrote to the dude back then, he promised to respond in a week 'after travelling', never came back to we afterwards ☝︎
bvt: i do expect that 'saltmine season' is over now -- i've been working on asming karatsuba squaring (ffa ch.12b) over this week, post expected tomorrow. ☟︎
bvt: hello. i am also sorry for my unacceptably low output over past ~2 months; and particularly sorry of not doing the right thing of notifying the forum (which i did before)
bvt: (talking about rk3399 here)
bvt: yes, but nevertheless the boards with these chips appear every day. perhaps need to show inca earplugs of some minimum size to get them?
bvt: to my understanding you design them yourself; devboards are just for testing the cpu/chipset
bvt: well, those are devboards, i don't think anyone sells them as a serious item. but amateurs - buy
bvt: (chinese messed with m.2 port wiring, need to buy strange adapter board to bring it to sanity)
bvt: i have an m.2 nvme ssd there, but the hw setup is convoluted enough to recommend bying *some other* board for these purposes