News for hackers. Stuff that matters.
Re:Telehash: JSON+UDP+DHT = Freedom by Groxx on Tuesday January 04, 2011 @08:18PM (#2069375)
".see" as a property seems it could get a little annoying in many languages, given that period - you can't map keys directly. Why "." and not some other character? I'd think common unary characters should be avoided, as they may not be unambiguous in language-X, but why periods? And since there are periods and plusses, why not go hog-wild, and allow "^supercommand", "$(&@^!boom", and others?
Re:Telehash: JSON+UDP+DHT = Freedom by dochtman on Wednesday January 05, 2011 @03:42AM (#2070385)
Might be cleaner to separate headers and contents. I.e. {"h": {"ring": 43723}, "c": {"see": ["5.6.7.8:23456","11.22.33.44:11223"]}}. Get h for headers, c for commands, s for signals and d for data. Gets you a clean separation, no faux namespacing.