amark on manhattan
self check not needed? (compare)
[D] alexz: If in my message forum app im making with gun, i need to check if 24 hours have passed since a post was made, in order to change a state on the user, would it be best to do that by just saving the post time when i save my post with set(), and then iterate through all the posts and check elapsed time, OR,
should i save the post with a set() and a time() and check with time? OR
should i only save the post with time() and get all the post data (text, author) from that without having to save it with set() also?
...get('2021/01/09:1:30
or so, now there is only X number of posts per day or hour to check, rather than iterating over everything.
[D] Adnan: <@!178314946201780224> sorry I missed your earlier response.
I am getting issue on receiving data on in active browser tab.
If I open page on two different tabs then only active tab is getting broadcast data.
Inactive tab only gets data if I move to it within couple of seconds otherwise it would miss the broadcast.
Hello! I'm going through the tutorial here: https://gun.eco/docs/Todo-Dapp And it's not fully working. A couple problems:
When I save it to a file on my PC and run it in a browser, nothing works. Would be good in your docs to say you have to run it in at least 2 browser tabs simultaneously before anything does anything.
When I do that, I can "sign up" and "sign in", but the syncing only works between two tabs of the same browser. It never syncs between browser types nor even between regular browser tabs and private browser tabs and never across multiple machines. I'm at my wits end. Not sure where to go from here.
Any help would be greatly appreciated.
BTW, created this centralized site: https://DecentralizationCentral.com and will be converting it to fully decentralized. The decentralized database is the final hurdle to overcome to complete that task.
I should mention that I am completely and totally lost on whatever the hell NodeJS is. I just don't get it and don't understand the use of it on a decentralized app when the users will 100% not be using it, so I can't understand why I'd need it while developing the app. My extremely vague understanding is it's something that installs in some secret location on my developer machine and provides server side running of JavaScript? If at all possible, I'd prefer to never have to touch it for any reason. I just want to write a simple HTML file with a few lines of JS to create my POC for GunDB. If I can get that working, then I'm golden! ;)