Page 3 of 3

Re: namecoin.org

Posted: Thu Apr 03, 2014 5:43 am
by domob
MWD wrote:Do you have a link to the specs?

Are there other new specs or features (or planned specs or features for the not-too-distant future) that we need to look toward making them all work in MeowBit? That would be a lot easier than rolling out new revision after revision and then finding out, "Oops, missed one! Do it again!" lol.
Of course, there is https://wiki.namecoin.info/index.php?ti ... cification.

However, the import that is currently implemented in NMControl and used by me (just look at my names for an example) is much simpler. If you have something like

Code: Select all

"import": "dd/domob"
in the JSON value, then load also the value "dd/domob" and merge all definitions from there into the current scope. This can be done recursively up to a certain depth (10 in NMControl at the moment). This only takes a few lines of code to implement and is much simpler than the version specified in the spec, but it makes life a lot easier: If you have multiple domains (like I do), you can store the IP and TLS fingerprint only once, so you need to update only one name when your IP changes. Also, it allows you to keep the main name in colder storage than the imported name.

Re: namecoin.org

Posted: Thu Apr 03, 2014 6:20 am
by MWD
domob wrote:
MWD wrote:Do you have a link to the specs?

Are there other new specs or features (or planned specs or features for the not-too-distant future) that we need to look toward making them all work in MeowBit? That would be a lot easier than rolling out new revision after revision and then finding out, "Oops, missed one! Do it again!" lol.
Of course, there is https://wiki.namecoin.info/index.php?ti ... cification.

However, the import that is currently implemented in NMControl and used by me (just look at my names for an example) is much simpler. If you have something like

Code: Select all

"import": "dd/domob"
in the JSON value, then load also the value "dd/domob" and merge all definitions from there into the current scope. This can be done recursively up to a certain depth (10 in NMControl at the moment). This only takes a few lines of code to implement and is much simpler than the version specified in the spec, but it makes life a lot easier: If you have multiple domains (like I do), you can store the IP and TLS fingerprint only once, so you need to update only one name when your IP changes. Also, it allows you to keep the main name in colder storage than the imported name.

Thank you!
MWD

Re: namecoin.org

Posted: Thu Apr 03, 2014 1:21 pm
by phelix
IMHO this topic is of some importance so if you don't mind too much I would like you to remove all the OT posts yourself or give me your OK to delete them all.

Re: namecoin.org

Posted: Thu Apr 03, 2014 5:25 pm
by MWD
phelix wrote:IMHO this topic is of some importance so if you don't mind too much I would like you to remove all the OT posts yourself or give me your OK to delete them all.
Go ahead. I'll let you do it, because if you're considering my "alternate JSON" posts off topic, you'll need to remove domob's replies, because if I just remove my posts, his will be very out of context.

though the side thread is important too, for anyone developing anything for dot-bit. So if it's not hard, maybe you could move to a new thread called "Resolving dot-bit domains with alternate JSON" or something.

Your call. I think the side thread was very important, but the OT is also important, and I can see the value of separating them. I didn't mean to have it hijack the thread, I thought it would be one question and one reply. Glad the info got up though, it will allow us to improve MeowBit.

Your call of "delete or move", but yes, of course, you have my permission.

MWD