-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An owner of this repository has limited the ability to comment from new users. #2290
Comments
Is there any reason for using |
I mean, some sites (e.g. ZeroTalk and Git Center) use content.json to store their settings there. |
Hm, if you're using POSIX timestamp already, can you maintain both
Can you elaborate please? AFAIK we don't use it but it might be a good way to monitor how people update. |
Also, |
So are you going to make a private-use ZeroNet fork? I guess it's fine then.
Not really. Trial-and-error would work as well even if we didn't send version. |
But why? It's quite useful for development, isn't it? We send the version in p2p protocol but I don't know why it's used in content.json actually. @HelloZeroNet Is there a reason? |
You're probably going to notice it later, lol. Currently
I don't understand what your usecase is. I think that option 2 will work for you but if it doesn't, I would need some more information to help you. You can publish it here or to imachug@gmail.com if you want to keep it secret. |
Actually, it is UTC time as per this SO answer. I am not sure why json.dumps provides incorrect results, let me take a look. |
That SO answer was just to explain that |
Actually you haven't replaced all "modified" instances, e.g. here: sign_content = sign_content.replace(
'"modified": %s' % repr(modified),
'"modified": %s' % modified_fixed
) Make sure to fix those as well. |
|
TBH I don't see any reason for any additional quotes |
I agree with @imachug . I don't see any reason for doing that either. |
The timestamp was mostly correct, but it could be off by one or two digits because that's how floating arithmetic works. |
@zeronettimemachine Since you've opened an open issue, then it's meant for public discussion ;) Also, since we're working on relicensing the project, accepting new contributions may be a legal problem, at least until we resolve the licensing conflict. I'd advise to wait a few days until we settle on it. |
Why's that? How is this new format better than POSIX timestamp? |
@imachug I agree. Creating new formats for the sole purpose of making them is both troublesome and increasing chances for a new security bug. @zeronettimemachine Yes, please share your point of view with us. |
OK, but why do you think that this may improve stability? What kind of time conflict could this prevent? |
An owner of this repository has limited the ability to comment from new users.
The text was updated successfully, but these errors were encountered: