60500+ entries in 0.468s

mircea_popescu: anyway,
i'm very much convinced that the various "oh, it's the same thing really" bad choices hash designers and implementers make, very much typified by the above "machine word so as to '''elegantly''' avoid these problems" very much plays into nsa needs. it's again that same old convenience that makes the usg usg.
a111: Logged on 2017-07-09 04:11 trinque: concretely,
I would like to connect to your lisp instance from mine and be able to interrogate it for classes of objects it contains, for particular instances (
i.e. there is a global notion of identity, global addressing, see threads on GNS), get instances which match some predicate...
phf: in vaguely related annoyances screw/half-screw
i*POS is the likeliest candidate for overflows, and it does where your fixnum is 32 bit. go version sidesteps that issue by being 64-bit
phf:
http://btcbase.org/log/2017-07-08#1680544 << nope, in fact my "optimized" one
i.e. the version where cmucl doesn't complain about unknown types with (speed 3) (safety 0), is about twice as slow as Go version.
i'm curious why that would be the case, but haven't had a chance to investigate.
☝︎ mircea_popescu: in other lulz,
i took girl + car out on a survey of local brothels tonite.
☟︎ a111: Logged on 2017-07-08 00:17 sina: yes and it's understood,
I'm not trying to make "gossipd for alfs dystopian future" just have some fun for me
trinque: concretely,
I would like to connect to your lisp instance from mine and be able to interrogate it for classes of objects it contains, for particular instances (
i.e. there is a global notion of identity, global addressing, see threads on GNS), get instances which match some predicate...
☟︎ trinque: can't just "this is how
I answer" but also, "how do
I ask", and "how do
I know what
I may ask"
mircea_popescu:
i dun have a general suggestion, perhaps just sit down with the whole thing and make an actual data diagram thing ?
sina: mircea_popescu: suggestions on avoiding ad-hoc datatypes? one idea
I was thinking was for example rather than ../messages/<msg_hash> file with contents "sender,delivered_by,message", have a directory ../messages/<msg_hash>/sender|delivered_by|message files?
trinque:
I'd say folks yes, use sqlite because they did not reason the program out completely before beginning to write code, but they often use postgresql as a messaging platform, RPC, or what have you
a111: Logged on 2017-07-08 07:21 sina:
I dunno much about lisp, but
I think lisp handles this better in the sense you write state into the "lisp machine" and can flush that entire state out to disk and read it therefrom as well?
mod6: <+mircea_popescu> "
i don't know, baby... we'll have to ask your father..." << lol. cuckdad may want in too!
mircea_popescu: "
i don't know, baby... we'll have to ask your father..."
mircea_popescu: good thing jayz is so very "controversial",
i think ima go buy his album
a111: Logged on 2017-07-08 10:54 sina: wasn't as bad as
I thought it'd be
sina: wasn't as bad as
I thought it'd be
☟︎ sina: fair. In any case
I think
I must retain for the purpose of "chaff" feature
sina: so
I guess
I do need to store them
sina: oh.
I might use them for bogus data sendage though or something
sina: mircea_popescu:
I am guessing tmsr is not fond of things like JSON or YAML
☟︎ sina:
I dunno much about lisp, but
I think lisp handles this better in the sense you write state into the "lisp machine" and can flush that entire state out to disk and read it therefrom as well?
☟︎ sina: because
I definitely remember in the past thinking thoughts along the lines of "filesystem is a ~btree, rdbms is a ~btree, why am
I ~btree on top of ~btree", and reading discussions about this topic on the internet, and feel like
I remember *someone* mentioning something about this
sina: one interesting thing is that
I thought there would be some databases implemented as flat files, but
I can't seem to find any
sina:
I just doubt
I can impl, e.g. transactions as well as sqlite guy
mircea_popescu:
i am not making you! and if it dun seem like something you wanna do best not to do.
sina: agreed and understood,
I am just subtly trying to make the point of "making me implement a shittier sqlite"
sina: what you said "wish to find out what key you can assign" is what
I meant
sina: no,
I want to assign any available key
sina:
I dunno about this suggestion. for example if
I want to assign an available key,
I need to list the keys in /keys, then subtract from that list the list of keys in /keys/assigned and /keys/bogus ?
sina: then
I either need to shell out to mv/ln
sina: cool, appreciated. so
I currently have 3 tables: keys, peers, messages. let's start with keys
I guess.
a111: Logged on 2017-07-08 01:11 mircea_popescu: the amusing part not yet picked up (
i was expecting alf to jump) is that... it has inband encoding. "self" is a special word!
mircea_popescu: asciilifeform
i still didn't get what
i'd call good numbers / a good measurement.
ben_vulpes:
i have other exciting glyph monstrosities occupying my stack these days like unicode
ben_vulpes:
i did discover epub-scale sheikh pdfs recently
ben_vulpes: relatedly,
i started rereading the old testament on "kindle" this year, have been missing proper talmud for whole sojurn
ben_vulpes: asciilifeform: yeah, found the flag at about the same time
i discovered the idiocy
mod6: oh yeah, those are the hardest to track down.
i find myself having to search for very specific words and hope
i find it.
mod6: yeah,
i try never to get more than 1 day behind. and sometimes,
i take long walks through the l0gs on various threads.
a111: Logged on 2017-07-08 02:07 mircea_popescu: mod6
i used to enjoy the luxury of multipass reads through the log. but it's under threat these days
ben_vulpes: am
i to take from this line in the od manpage that it doesn't actually output faithfully without extra flags?
mod6: as a way to teach it to myself,
i've been poking around with a v impl.
sina: ok going out again, will consider some more, but
I do wonder
sina:
I mean, all data is unicode AFAIK
mircea_popescu: sina simple example and
i don't pretend like this is useful : /assignments/0f0a.txt contains or does not contain "hurrdurr". by checking if it does you know hurrdurr is assigned to 0f0a.
mod6:
i gotta look at this code again here
sina: mircea_popescu:
I guess the gist of the question is really, how is implementing my own btree different at all to using the pretty much identical thing in sqlite
sina: although
I don't get that either now that
I think about it, how does the "assignments" file know which key is which?
sina: mircea_popescu: but still even in that case
I need to "walk" the list of assignments, looking for ^available, so
I need to use grep or write a iterating-finder-thingo myself and then something like sed to change the line or write a text-changer-at-a-line myself
sina: ok true,
I didn't think of that
mircea_popescu: sina
i don't get it ? make file with keys, make file with assignments. why mv ?
mircea_popescu:
i don't know it has to be shitty, unless there's some other constraint, like "make it overnight"
sina: and now if
I want to do it in flatfile, gossipd code becomes gossipd + "sinas shitty db-less attempt"
sina:
http://btcbase.org/log/2017-07-08#1680437 << why
I used a db: because the spec said use flatfile,
I first tried to implement flatfile one and after realising
I would need to either shell out to utilities like "touch" and/or "find"/"ls" etc, or implement some of their functionality myself,
I decided to import a library that does that stuff not terribly, called sqlite
☝︎ sina:
I return, temporarily
mircea_popescu: mod6
i used to enjoy the luxury of multipass reads through the log. but it's under threat these days
☟︎ mod6:
i think it's highly interesting, but indeed, there's a lot of depth. sometimes takes a while to grok the threads. that's my own personal take. getting old, not for me anyway.
phf: that's a tricky request, but the tenets are around shitlangs differentiation, "fits in head", v as a way of releasing code, what it means to own a piece of technology. there's a handful of threads that had definitive conclusions, that
i consider tenets (
i think the word should be in quotes to indicate that while not true tenets, violating them will require reopening large threads)
mod6: in this case, even the sina has said so himself, is a simple prototype.
i find prototypes to be typically worth making. often there is something to be learned from them.
phf: or perhaps now that he has successfully served as the main driving force behind the tenets of tmsr technology and ensured that they are collectively accepted, he doesn't need to reaffirm them as much. but
i also have wonder if the tenets have as much of a galvanizing effect now that we mostly had a chance to observe both their positive and negative effects?
phf:
i think that it's mostly your works. his patterns are better known, there's been damping, etc.
mircea_popescu: the amusing part not yet picked up (
i was expecting alf to jump) is that... it has inband encoding. "self" is a special word!
☟︎ mircea_popescu:
i suppose it's actually my bad, they called it optimizing assembler back then for some reason.