22400+ entries in 0.012s
mircea_popescu: such
that it can't either deplete
the machine entropy by reading mb/s nor can it figure out
the internals by reading straight fg bytes
mircea_popescu: this way - O is "always full" from
the pov of userland ; I is protected from userland reading O.
mircea_popescu: the operation
then consists of : 1. FG -> I.W 2. if I.W = I.R, I.R -> O.W, such
that if O.R >= O.W/2, next O.W goes
through HF filling many offset bytes ; if O.R <= O.W/2, next OW goes
through HG, filling one offset byte.
mircea_popescu: ring buffers : Inner (small, 16kb
to cpu-cache-size) ; Outer (large, 1 MB
to swap partition size). each buffer has a writing head moving around it and a reading head moving around it,
their position is W and R at any
time.
mircea_popescu: no, it's not
the same length, for one
thing. 2nd buffer should be mb or larger ; and it gives
the effect
that
there's an always-full entropy buffer
mircea_popescu: such
that
the outer ring is always full, and
the inner ring is always good.
mircea_popescu: this outer ring should use
two cprngs
to stretch
the flow-in, one fast and one good.
mircea_popescu: imo correct design is 16kb
to cpu-cache-sized inner ring buffer, wherein fg material is simply written into a loop, plain ; and from where high quality entropy is read blockingly. whenever
the writing head
threatens
to overwrite
the reading head,
the overwritten bits are instead fed into outer ring
☟︎ mircea_popescu: nah, pretty sure you need
two,
to protect self from attrition attack
snsabot: Logged on 2019-08-22 00:18:54 mircea_popescu: could you simply
throw out
the whole damn
thing and replace with from-scratch random.c / h ?
snsabot: asciilifeform:
time since my last reconnect : 6d 2h 12m
snsabot: Logged on 2019-08-22 07:50:22 spyked:
to detail:
trinque's bot has a
thread
that pings
the irc server and does lag
tracking (the lag
then is: pong_response_timestamp - ping_sent_timestamp); if it detects
that
the lag is high,
then it
tries
to reconnect. so when feedbot spends a lot of
time in
the notification loop, it doesn't receive
the pong and gets disconnected.
snsabot: Logged on 2019-08-14 10:43:52 asciilifeform: both, however, occasionally forced
to make 'unprincipled exception', cuz
the set of what can be done by deskilled monkey with 'cluck'
tool is never 100% .
snsabot: Logged on 2017-03-30 10:50:38 asciilifeform:
trinque: erlang wasn't simply about 'uptime', or even 'no pointer arithmetic', it also was
the only case i know of where process migration actually worked
mircea_popescu: but yes, functional language should be able
to get closest
to your 0 penalty.
mircea_popescu: logically, it'd be exactly
the sort of spitshine fit for its shoes.
mircea_popescu: this is
the first
time i hear of some actually useful lisp improvement
snsabot: Logged on 2019-08-22 07:54:59 mircea_popescu: can't, in general speaking, when plumbing
the synch-asynch divide (such as for instance
tryuibng
to resolve
through design
the impedance mismatch between non-threqaded process and synchonous messaging) commit
to any activity of an open-ended length. main loop gotta know at least approximately how long each call will
take, or else it can't make
them
spyked: the downside is
that now messages are going
to arrive somewhat slower -- ISONs aren't sent
too often, so as
to not abuse
that command; but probably not
that much of a problem either way. if a user was offline for a while,
then he can wait
the extra minutes
to receive
the messages.
spyked: mircea_popescu, for PM notifications,
the sender is called only when
the
target nick is online;
to find out whether a nick is connected, it sends an ISON and waits for a reply; and on
the reply handler, it (until now)
tried
to process
the entire message queue for
that nick, which... yeah,
that's a really bad idea.
mircea_popescu: can't, in general speaking, when plumbing
the synch-asynch divide (such as for instance
tryuibng
to resolve
through design
the impedance mismatch between non-threqaded process and synchonous messaging) commit
to any activity of an open-ended length. main loop gotta know at least approximately how long each call will
take, or else it can't make
them
mircea_popescu: why doesnt
the main program loop call
the sender
thing ONCE AT A
TIME ?
spyked: the fix I'm currently applying is
to have feedbot send notifications in short bursts so
that it doesn't
take over
the main program loop
spyked: to detail:
trinque's bot has a
thread
that pings
the irc server and does lag
tracking (the lag
then is: pong_response_timestamp - ping_sent_timestamp); if it detects
that
the lag is high,
then it
tries
to reconnect. so when feedbot spends a lot of
time in
the notification loop, it doesn't receive
the pong and gets disconnected.
spyked: mircea_popescu, meanwhile I found it wasn't
the issue I initially
thought! I'ma bring
the bot back online shortly
snsabot: Logged on 2018-10-12 12:56:05 mircea_popescu: in
the 1980s engineers / cstronicists' defense, it was not yet understood how important entropy is
to individuality and human existence.
lobbesbot: nicoleci: Sent 3 weeks, 4 days, 2 hours, and 34 minutes ago: <mp_en_viaje> State of Florida Vs. Ruby McCollum, Defendant by C. Arthur Ellis << download
this
spyked: I
think I caught
the bug. will fix by
the end of
the day and bring
teh rss bot back up.
spyked: grrrr,
this is annoying. ftr, I set
the delay knob for feedbot msg delivery
to 2 seconds and it still gets disconnected for some reason. I suspect it's something other
than fleanode simply disconnecting, so I will ask users who are waiting on pending PMs from feedbot
to bear with me for a while.
snsabot: Logged on 2019-08-22 00:13:36 mircea_popescu: raid was immensely useful for
the older drives. with ssds its' not clear you gain so much in either speed or reliability
mircea_popescu: considering
the keys we use are 4kb, it seems reasonable we should keep entropy pools of no less
than 16kb ?
mircea_popescu: incidentally,
the fucking notion of a byte-counted entropy pool is fucking ridiculous.
mircea_popescu: in any case it is obvious
that using it as intended (ie, pretending fg is what
the linuxtards call a "hardware random generator") is ~wasting it. i dun wanna initialize
the middle 32 bytes out of anything.
mircea_popescu: could you simply
throw out
the whole damn
thing and replace with from-scratch random.c / h ?
lobbes: once
this
thing is up I'll probably be asking in #a (unless #mod6 still lives?) about doing a 'hot-start' with
trb
lobbes: sounds reasonable
to me. aite, I'ma
tell em' no raid I
think
mircea_popescu: in any case,
there's not much point
to
two disk raid arrays ; nor
to software raid.
mircea_popescu: raid was immensely useful for
the older drives. with ssds its' not clear you gain so much in either speed or reliability
lobbes: in other news, I'm in
the process of provisioning a dedi server (for primarily a second
trb node). I grabbed one with 2 512GB SSD drives. Now my question is: should I bother with RAID 1? Or will
this just be stupid because
they will wear at
the same rate?
lobbes: wb
to somewhat-civilisation mircea_popescu
snsabot: Logged on 2019-08-20 22:47:29 lobbes: but it is
true
that I was also failing *her* by not
taking
the reigns as I should have.
The next girls, however, will be
taught properly.
mircea_popescu: this is in fact
the definition, jungle as above, camp as in, <1minute.
snsabot: Logged on 2019-08-08 16:13:35 mircea_popescu: do you realise every
time i do a keyop it's ~half hour of slavegirl
time going blind on asciisoup ?
snsabot: Logged on 2019-08-20 22:39:42 snsabot: Logged on 2016-09-16 22:54:18
trinque: BingoBoingo: aha, in fact
there was a
thread where mircea_popescu explained
that y'know, you
teach
the women
things
mircea_popescu: i'm starting
to suspect
the actual market for gangbang porn is really ~diane keaton
snsabot: Logged on 2019-08-20 21:33:49
trinque: motherinthemiddle
snsabot: Logged on 2019-08-20 21:07:20 asciilifeform: mp_en_viaje: relatedly,
the
trad ru 'ethno-slur' for poles, 'пшеки', is quite a bit like 'пшик', what nominally spray can says.
BingoBoingo: In local weather, Mujica's wife will be acting president
tomorrow for some hours while doctors poke current president's lungs with scopes and radiation
snsabot: Logged on 2016-12-30 13:34:00 phf:
true, but alf also "won't
touch
the web"
snsabot: Logged on 2016-12-28 16:44:23 Framedragger:
http://btcbase.org/log/2016-12-28#1592214 << entirely possible folx weren't aware of phuctor, it's not exactly advertised much. (then again, cue mp's "they don't have a right/privilege not
to be aware"..)
BingoBoingo: And as far as I can
tell, USG
to USG drones is
the only actual satellite internet
BingoBoingo: Well,
they need
to be oppressed
through something
BingoBoingo: Also a couple newer one
that go from Fortaleza
to different places in Africa