log☇︎
25400+ entries in 0.151s
ave1: Also no UNIX sockets yet, I was reading the documentation and came accross how linux now supports "abstract" unix sockets which have no equivalent on the file system. Pretty big WTF all over, it's implemented by having a string start with a 0 (zero) byte.
ave1: I'm aiming at a small library with support for UDP, TCP and UNIX sockets with direct calls to 64bit x86 and 64bit arm plus C. So far UDP + asm 64bit x86 is done. ☟︎
ave1: I'm also working on a thin networking layer for Ada (using direct system calls in inline assembler). I got stuck on some inline assembly details and once that was resolved I got stuck on the whole select/epoll/kevent support and so forth. So at this point, http://btcbase.org/log/2018-09-16#1850668 applies. ☝︎
PeterL: is there a process to get voiced in #pizarro?
asciilifeform: mircea_popescu: a++++ ocelot
diana_coman: not like typing takes a lot of time
mircea_popescu: are you going to write an ada program to treat c-defined syscalls as black boxes and spit out ada acceptable output ; opr are you going to write a c program to treat c-defined syscalls as compatriots and spit out ada acceptable output ?
diana_coman: sure, but what's the point in wrapping a c call in more c code, I'm not sure I follow what you have in mind
diana_coman: if it's c, there's no need for a wrapper
mircea_popescu: half the fucxking manual on recv deals with a) spurious extra prototypes and b) data size definition soup.
diana_coman: moreover, the thin layer is in principle internal to gnat.sockets so it's not even meant to be directly used from outside (compiler will throw a warning though nothing worse than that afaik)
diana_coman: while initially I considered using this thin layer, on a deeper look at it, I don't like it; here is the code of it: https://www2.adacore.com/gap-static/GNAT_Book/html/rts/g-socthi__ads.htm and https://www2.adacore.com/gap-static/GNAT_Book/html/rts/g-socthi__adb.htm
diana_coman: http://btcbase.org/log/2018-09-14#1850437 -> following on from this, I had a look in more detail at the code for gnat.sockets; my conclusion is that gnat.sockets has as main contribution the streams + forcing the weird dance with types; underlying gnat.sockets is the "thin layer" that essentially wraps the system's C functions for sockets ☝︎
mircea_popescu: ah if only it were 1998 again, how bien trouve shit like "hip-adjacent" would catch wings and fly! what a "dank meme" it'd have been, back before they had a word for it.
mircea_popescu: internet "of today" runs into internet of 1990s : maddox saying "the obvious" that "nobody wants to hear", inexplicably enough nobody gives a shit.
mircea_popescu: meanwhile in random lulz, "Using slang you didn't come up with isn't a substitute for having a personality. And that's the Internet in a nutshell today: a bunch of vapid morons trying to be cool by parroting phrases back and forth to each other. It's meme language, and just like people use memes as a substitute for their inability to tell a joke or make a cogent statement, people use this type of language to seem hip-adjacent
trinque: at least it'd have a chance.
trinque: somebody should really write a republican version control system someday
PeterL: and I should find a better place to keep my files, currently I have it on github
PeterL: http://btcbase.org/log/2018-09-15#1850574 << I also made a keccak implementation, but it needs some tests to verify it is consistent with the standard and then I should make a gensis vpatch for it ☝︎
mircea_popescu: ds and at Holloman. With the capabilities of modern electronics and batteries, it's possible that such a system wouldn't even need to be hard wired. "
mircea_popescu: lol, "It seems more plausible that a foreign operative or an operative working on a foreign government's behalf might have been able to install an antenna/sensor apparatus onto the top of a structure that is part of the facility and within line-of-sight of the valley below without anyone noticing. This could allow them to persistently gather electronic intelligence on whatever might be happening on, around, and over White San
BingoBoingo: With another headline: "Autora de "Cómo matar a tu marido" es acusada de matar a su marido"
BingoBoingo: Right now I am working on a lessons learned for the next Republican pioneers, most of which based on contemplation of the now concerns the humble backpack
BingoBoingo: There's some other things to get to first, but a second edition should be doable sometime this year
mircea_popescu: http://bingology.net/2016/01/24/the-theoretical-foundation-of-social-engineering-practice/ << ftr this isn't even half bad ; BingoBoingo consider re-writing like a 2nd edition of it ? in light of accumulating experience ?
asciilifeform has a sad half-finished one
mircea_popescu: "Though I wouldn't try the thing on files larger than a megabyte at the moment." <<->> "As you can imagine, large files may give you ample time to draw a bath" or something.
a111: Logged on 2018-09-15 01:48 mircea_popescu: esthlos "Though I wouldn't try the thing on files larger than a megabyte at the moment." whynot ?
mircea_popescu: oh, oh, the keccak. do me a favour and say http://btcbase.org/log/2018-09-15#1850556 << just because it will take a while. should work just fine. else we'll drown in refwork. ☝︎
esthlos: mircea_popescu: just because it will take a while. should work just fine.
BingoBoingo: If you already know its there the size of Metropilis, Illinois isn't going to pack much of a punch
BingoBoingo: Yeah, but Middle Western naming Irony only tends to give chuckles when its a surprise
mircea_popescu: gave me a chuckle.
mircea_popescu: irony of ironies : there exists such a place as "grand Island", nebraska.
mircea_popescu: esthlos "Though I wouldn't try the thing on files larger than a megabyte at the moment." whynot ? ☟︎
Mocky: I'm working on a laptop hooked up to a 4k tv, so every time the power cycles I end up sitting listening to the neighborhood AC units powering down until my tv comes back.
Mocky: not all that much of a hurricane here but powers been out at least 2 dozen times for about a minute each.
BingoBoingo: In local news, a rare event. A heist suspect arrested! https://www.elobservador.com.uy/nota/un-detenido-por-asalto-a-remesa-en-el-banco-itau-2018914184632
a111: Logged on 2018-09-14 21:45 Mocky: seems like there are a lot of dialects from gulf to african
mircea_popescu: http://btcbase.org/log/2018-09-14#1850511 <<< this seems a pretty safe bet. ☝︎
mod6: http://p.bvulpes.com/pastes/vFrTE/?raw=true << oh yeah, you made horsecocks a long while ago alf
BingoBoingo: You could also see if there's some camho's that want a stable appointment. iirc that's how shinohai learned spanish
asciilifeform: Mocky: asciilifeform at one time worked for a d00d who spoke the palestinian dialect. he griped that on trips to e.g. riyard he was scoffed at 'like if spoke alabama english in nyc'
Mocky: seems like there are a lot of dialects from gulf to african ☟︎
BingoBoingo: But if the speaker's got tits, Brian in the head is willing to work a bit.
BingoBoingo: Mocky: What you need is a live speaker that is also interesting to the eyes
asciilifeform: Mocky: very difficult ( at least i found ) to grasp the phonology without a live speaker.
Mocky: i already like that there's no capitalization. i need to find a native speaker
diana_coman: at any rate, from server's point of view, it doesn't care - it will answer to legitimate messages and that is that; it's more of a client concern and up to them how they handle that i.e. indeed pretty much how long they wait/when do they consider server unreachable and what they do
asciilifeform: the salt, goes in the cipherola payload, so gets switched out in erry round. ( given as you have a trng, this is not an exorbitant entropy expense )
asciilifeform: ( a reply here, in turn, is not the idjit tcp 'ack', but a packet containing hash(currentsecretsalt + prevpacket) + cipherola-to-current-key , i.e. can only have been generated by the box on the other end, and can only be authenticated by yours
asciilifeform: this way you also dun have to concern with 'packet congestion', a perennial plague of tcpdom
asciilifeform: diana_coman: if one receives an old (i.e. not currently expected ) packet ( e.g. straggler from a previous round ) it gets rejected in the same way as any other rubbish.
asciilifeform: diana_coman: the simplest way i thought of to finesse the reordering thing is simply to run synchronously ( i.e. at no point does sender send a new packet unless old one replied; if there's no reply, sender retries a certain # of times, and if still silence, declares the connection broken )
a111: Logged on 2018-09-14 18:09 phf: asciilifeform: i have a bigendian box and i also tested at least one call for bigendian test on it. i think it was diana_coman's keccak though
asciilifeform: at some point i'd like to get a bigendian box of some description into pizarro , for such work
asciilifeform: but since phf has a bigendian gnat, could theoretically build ave1's
phf: asciilifeform: i have a bigendian box and i also tested at least one call for bigendian test on it. i think it was diana_coman's keccak though ☟︎
trinque: don't have a gnat built for them yet
asciilifeform: and btw for so long as one either a) refrains from bytewise addressing, period or b) addresses bytes of a word via b0 := W and 0xFF, b1 := shr(W, 8) and 0xFF, b2 := shr(W, 16) and 0xFF , ... , etc -- you dun create endianism problem.
mircea_popescu: iirc we even had a discussion re standardizing a byte order ; though from the fact that i don't recall the results i take it i got shown broken cats. ☟︎
a111: Logged on 2018-09-14 16:30 asciilifeform: ( imho the tradition where 'just about errybody's little endian, but we spend cpu and flip bytes erry time we send something because in 1989 somebody had a pdp' is asinine )
phf: a standin for both pdfs and phds
mircea_popescu: omg it's a phf!
asciilifeform: ( you let it emit precisely e.g. 512byte into a preallocated buffer that never moves ; the ip it came from, into a 32bit , and that's it )
diana_coman: supporting windows in not a requirement; whoever wants to support it is free to make their own implementation of the protocol anyways
asciilifeform: ( imho the tradition where 'just about errybody's little endian, but we spend cpu and flip bytes erry time we send something because in 1989 somebody had a pdp' is asinine ) ☟︎
a111: Logged on 2018-09-14 12:37 diana_coman: as I was writing that I was thinking that an unchecked.conversion for the whole thing might work - provided arrays are indeed stored as one would expect in a continuous space
asciilifeform: but nao that i think about it, iirc mircea_popescu maintains currently a mswin eulora client, so you might be stuck with gnat's.
asciilifeform: so in this model you'd have 2 routines, 1 which takes a port, listens on it, and comes back 'someday' with a 512byte buffer fulla packet and the originator ip ; and another that eats a 512byte buffer and a dest ip, and returns immediately.
asciilifeform: tcp is very difficult to sanely work with without a stream abstraction, but udp -- trivial.
a111: Logged on 2018-09-14 12:37 mircea_popescu: anyway, reading through this, i suspect ada threading may turn out to be a pleasure.
a111: Logged on 2018-09-14 01:29 BingoBoingo: asciilifeform: http://aaronrogier.net/fanfront.jpg and http://aaronrogier.net/fanback.jpg Please gpggram a destination for the sticks
asciilifeform: phf: fwiw i do not yet have a working heathen toolchain ( other than what shipped on the box ) either
asciilifeform: phf: this was on the off chance that you had a working replacement rom image. ( if you don't yet -- thing won't do you much good atm )
phf: http://btcbase.org/log/2018-09-08#1848612 << was at sea, but i was also keeping up with the logs (much better in flight entertainment!), i'll take the pill, but not sure i'll have the immediate use for it beyond ogling. i'm having a hard time recreating even the max-heathen environment that will simply reproduce the google stack as is ☝︎
a111: Logged on 2017-03-10 16:57 asciilifeform: btw i will also put down in the log, one very simple possible algorithm for a 'txidx-fs' :
asciilifeform: i then wrote the mmap thing, with aim to bake the 'reads and stores blox , then O(1) tx retrieval' demo, but never got a chance to glue the two together
asciilifeform: ( what it was, was simply a btc block and tx reader, i fed an entire noad's 'dumpblock' chain into it, plus a buncha randomly bitflipped mutilations, behaved correctly )
diana_coman: asciilifeform, aha; re-reading that thing - I guess the Scalar_Storage_Order looks promising, I'll dig a bit deeper into it
asciilifeform: diana_coman: currently i am lacking a bigendian iron (or a gnat for such) so never got a chance to truly and properly test endianism conversion (as for ffa, it is endian-insensitive, but this is simple where there is no networking)
diana_coman: I've found that and gave it a first pass but I didn't quite see how to use it for my problem; it's on the list of refs at any rate, so I'll get to re-read it
diana_coman: got it; will re-read (I do think I had a quick look at it at that time but it didn't stick)
diana_coman: I recall a link to examples in ada; fwiw I think they are even gone from that link at least; was that "nqb"?
asciilifeform: i also had a variant that used c imports
asciilifeform: i've a half-written 'g' (if anyone recalls what that was) , used adasockets
asciilifeform: ( and i didn't get a chance to finish the whole thing, was right when i picked up ffa )
asciilifeform: http://btcbase.org/log/2018-09-14#1850323 << i have a proggy, but it dun seem like i ever published the item, so diana_coman will have to count as 1st ☝︎
mircea_popescu: anyway, reading through this, i suspect ada threading may turn out to be a pleasure. ☟︎
diana_coman: as I was writing that I was thinking that an unchecked.conversion for the whole thing might work - provided arrays are indeed stored as one would expect in a continuous space ☟︎
a111: Logged on 2018-05-25 04:04 mircea_popescu: yes. democracy fails to account externalities as a matter of course. see also http://btcbase.org/log/2018-02-14#1783773 thread
a111: Logged on 2018-09-14 05:07 trinque: http://btcbase.org/log/2018-09-12#1849960 << agreed. it may need to come after the near-term and still elusive goal of cleaving the essential from the cruft in the portage tree. there is a shocking amount of state in portage strewn about the system, in /etc, in /usr/portage, in /var/db/pkg
trinque: can then pluck ebuilds from their tree as needed, produce a vpatch, and include in the cuntoo repo
trinque: aaand just built a working nano from the ebuild in /cuntoo/portage, having no other ebuild repositories in system, and no barfs from emerge.
trinque has scripts in progress to flatten the profile tree into a single profile, where it can be inspected and therefore judged.
trinque: http://btcbase.org/log/2018-09-12#1849960 << agreed. it may need to come after the near-term and still elusive goal of cleaving the essential from the cruft in the portage tree. there is a shocking amount of state in portage strewn about the system, in /etc, in /usr/portage, in /var/db/pkg ☝︎☟︎
BingoBoingo: asciilifeform: http://aaronrogier.net/fanfront.jpg and http://aaronrogier.net/fanback.jpg Please gpggram a destination for the sticks ☟︎
asciilifeform: BingoBoingo: i dungetit, what's lower than 'it's a miner^H^H^Hcloud^H^Hpetroladditive^H^Hdentists-don't-want-you-to-know' ?
a111: Logged on 2018-09-13 22:07 asciilifeform: gotta wonder, what precisely caps the lifespam of a garza-style op. my guess is that it was never +ev at any point, and d00d simply ran out of his usg-allotted 'capital' to pay the shills etc