Why Chrome? Is it the only viable option now? Mozilla is intentionally crashing, but there are other Firefox-forked browsers. I'm assuming that's not Google's Chrome, but any Chrome-browser.
Please make a post about how the "Post Whenever" works. I posted 4 or 5 things yesterday and none have showed up and noticed it's often unpredictable.
Now let's look at code to see if we can find any flaws:
function submitonedelayedpost() {
db.get('SELECT user,time,json FROM postwhenever order by random() limit 1',(err,row)=>{
if(err) return console.log(err);
if(!row) return;
var {user,link,title,topic,hidden,type} = JSON.parse(row.json);
postLinkAsUser(user,link,title,topic,hidden,noop);
db.run(`INSERT INTO postwhenever_done(user,time,json)
SELECT user,time,json from postwhenever where time=? and user=?`,row.time,row.user,err=>{
if(err) console.log(err); //We must continue regardless of error
db.run('DELETE FROM postwhenever WHERE time=? AND user=?',row.time,row.user,noop);
db.run('UPDATE postwhenever_done SET posttime=? Where time=? and user=?',Date.now(),row.time,row.user,noop);
});
});
}
setTimeout(()=>{
submitonedelayedpost();
setInterval(submitonedelayedpost,1000*60*60*3);
},Math.floor(Math.random()*1000*60*60*12));
So possible flaws are that postLinkAsUser could be failing silently and still transferring the row from postwhenever to postwhenever_done because it has a callback of noop (no operation).
I don't think that's it because everthing recent in postwhenever_done is on the site from what I can tell.
Another potential flaw is that the kick off for the posting interval is offset by a random amount when the server starts to help make sure there are no scheduled tasks that line up their intervals. Up to 12 hour random offset is kind of long, so if something is causing the server to reset often then this may never happen.
Looking at the current server uptime, we have 24 minutes, so I think this is our problem.
Possible solution? Run this sort of scheduling in a separate process. Have it ding the main process to have it do the thing it should do.
Other notes: I should probably move to async await.
I also added to my todo list making sure that users can see their postwhenver queue. Here is my full task list of things that might end up done:
Set up a bots folder on the matrix server to handle things like doing postwhenever independent of server restarts
Convert postwhenever code on matrix to using async await
Make it so postwhenever code on matrix can't fail postLinkAsUser and still have the item transfer from postwhenever to postwhenever_done
Get the matrixserver to be a rabbitMQ reciever to negotiate instructions from the postwhenever bot
Make it so postwhenever schedules to same regardless of server restarts by noting the most recent postwhenever_done item and oldest postwhenever item
Try to get the matrix server to an uptime of one day
Resolve the most common matrix server restart cause
Make it so matrix2 / submitonedelayedpost will check if the user is dominate
Make it so users can see what is in the postwhenever queue
Limited as my knowledge is, it seems like a completed posts should include verifiable links to them, and maybe incomplete posts would have eventual target links that respond "Not yet posted."
I don't mean to be a bother and hope this feedback helps improve things. Besides the long time in this instance I had faith they would be posted so I wasn't too concerned.
Unrelated but kind of similar (and more important to me) would be the ability to see my history of messages, not just the new ones. There's little enough interactions here that I don't want to miss any, but I can't count how many times I've opened multiple messages in a tab to go back and find it had reset so I'll never even have read some messages, much less responded. Please add this to your task list.
That looks both sound AND valid. Having issues with the post later table and pushing to the page? is that where all my Tylor Perry (Praise Her/The Force Is Female) fan tributes have been going? Those are hard to make. It takes a long time for my mom to put all that sour cream on me.
This is the 5 most recent in postwhenever_done. Let's make sure nothing is there that didn't actually post.
JasonCarswell|1733403476592|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=wfto6Ferr5I","title":"Fuel Price Con (10:53) ~ Richard Vobes","topic":"Energy, Exploitation, Pushback, ResistanceAnalysis","type":"link"}|1735108080735
JasonCarswell|1733910313913|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=8Nzewkrj26Y","title":"Assad Is Out, Woke Al Qaeda Is In VEED (4:45) ~ Caitlin Johnstone","topic":"PoliticalAnalysis, Syria, Zionism","type":"link"}|1735097280736
JasonCarswell|1732543052248|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=cz0MpWAELhM","title":"Kirk is Back! I’m Speechless! (19:18) ~ The Dave Cullen Show","topic":"StarTrek","type":"link"}|1735059682095
JasonCarswell|1733402778976|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=My_c-At8-cA","title":"Trudeau's Citizenship Requirements are Absurd 😡 (10:42) ~ Clyde Do Something","topic":"Canada, Migration, Terrorism","type":"link"}|1735029941686
JasonCarswell|1733319158513|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=ibcZen2hv1Q","title":"The Kind Of Ceasefire Where One Side Keeps Firing (5:44) ~ Caitlin Johnstone","topic":"Hypocrisy, Victimhood, War, Zionism","type":"link"}|1734978995246
I'm going to split my comments up to address different things.
So the post is a joke about Richard Stallman. He insisted that Linux be renamed to include his project name just because he wrote some software to run on top of Linux. He made sure to remind people of that about twice a public appearance for about 30 years.
I knew about the Gnu + kernel issue, and agree with his sentiments - but the lazier paradigm reigns. Also, I'm unclear where Gnu ends and Linux begins and when saying Gnu is inaccurate. Perhaps I should try harder as I do with proper F/LOSS over more ambiguous FOSS.
Suspected it was a joke, but it has merit and wasn't sure so I entertained it seriously. It is their ultimate goal to control everything, by a unified browser monopoly or other ways.
I should add some more transparency to it. Let me see if anything is in the database for it. It should post something out of the queue about once every 5 hours.
I did see some stuff in the queue. First let's make sure nothing is missing from it. This is what I've got.
JasonCarswell|1735692990476|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=LPieWJrlvE4","title":"Happy New Year. Our Society Is Every Bit As Diseased As You Suspect It Is. (4:58) ~ Caitlin Johnstone","topic":"Corruption, HappyNewYear, PsyOps, Tyranny","type":"link"}
JasonCarswell|1735694006110|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=Y3u_Fx4ii7w","title":"Have It All: Married People || Taylor Tomlinson 2024 (8:11)","topic":"StandUpComedy","type":"link"}
JasonCarswell|1735694735804|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=tX4E1rO2dT4","title":"Covid Sucked - Let's do it Again! (9:08) ~ Clyde Do Something","topic":"MedicalTyranny","type":"link"}
JasonCarswell|1735700067034|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=TZQQL_YUVzI","title":"The Internet's Most Hated Cartoonist [Stonetoss] (28:05) ~ TheGamerFromMars","topic":"Cartoons, Comics, PoliticalHumour","type":"link"}
JasonCarswell|1735701621631|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=y3ZkCYpegLQ","title":"Oklahoma City bombing SOLVED! The shocking evidence that changes everything we were told | Redacted (28:08)","topic":"Conspiracy, FalseFlags, History, PsyOps, Tyranny","type":"link"}
Edit, the schema:
CREATE TABLE postwhenever (user text not null,time int,json text not null);
One day I'd be happy to detangle it for simpletons like myself with your help and share it on a wiki-FAQ - along with other features. For example, I don't even know how to share images or videos on your other online resources and don't even know if they are independent stand alone sites, sub-sites, or are tied in with the forum. Also, one day I'd like to dev some CSS themes.
I'd love to be able to 1) see the que list, 2) re-order the list, 3) edit/delete, 4) ideally in a simple GUI.
90% of it should look greek even to a nerd. The real question is does that have all of the titles of the posts you made lately or are any missing.
But I'm pretty sure it's all there. I think we've narrowed it down successfully to the transition not happening consistently when there are server resets happening.
Yes, nomenclature and definitions of terminology matter for proper communication and understanding.
Trivium = Grammar (terms & knowledge) + Logic (analysis & understanding) + Rhetoric (sharing wisdom).
Why Chrome? Is it the only viable option now? Mozilla is intentionally crashing, but there are other Firefox-forked browsers. I'm assuming that's not Google's Chrome, but any Chrome-browser.
Please make a post about how the "Post Whenever" works. I posted 4 or 5 things yesterday and none have showed up and noticed it's often unpredictable.
Now let's look at code to see if we can find any flaws:
So possible flaws are that postLinkAsUser could be failing silently and still transferring the row from postwhenever to postwhenever_done because it has a callback of noop (no operation).
I don't think that's it because everthing recent in postwhenever_done is on the site from what I can tell.
Another potential flaw is that the kick off for the posting interval is offset by a random amount when the server starts to help make sure there are no scheduled tasks that line up their intervals. Up to 12 hour random offset is kind of long, so if something is causing the server to reset often then this may never happen.
Looking at the current server uptime, we have 24 minutes, so I think this is our problem.
Possible solution? Run this sort of scheduling in a separate process. Have it ding the main process to have it do the thing it should do.
Other notes: I should probably move to async await.
I also added to my todo list making sure that users can see their postwhenver queue. Here is my full task list of things that might end up done:
Set up a bots folder on the matrix server to handle things like doing postwhenever independent of server restarts
Convert postwhenever code on matrix to using async await
Make it so postwhenever code on matrix can't fail postLinkAsUser and still have the item transfer from postwhenever to postwhenever_done
Get the matrixserver to be a rabbitMQ reciever to negotiate instructions from the postwhenever bot
Make it so postwhenever schedules to same regardless of server restarts by noting the most recent postwhenever_done item and oldest postwhenever item
Try to get the matrix server to an uptime of one day
Resolve the most common matrix server restart cause
Make it so matrix2 / submitonedelayedpost will check if the user is dominate
Make it so users can see what is in the postwhenever queue
Limited as my knowledge is, it seems like a completed posts should include verifiable links to them, and maybe incomplete posts would have eventual target links that respond "Not yet posted."
I don't mean to be a bother and hope this feedback helps improve things. Besides the long time in this instance I had faith they would be posted so I wasn't too concerned.
Unrelated but kind of similar (and more important to me) would be the ability to see my history of messages, not just the new ones. There's little enough interactions here that I don't want to miss any, but I can't count how many times I've opened multiple messages in a tab to go back and find it had reset so I'll never even have read some messages, much less responded. Please add this to your task list.
We have better restart logging on this particular server now. Uptimes in the minutes will go away. It should be days at least.
That looks both sound AND valid. Having issues with the post later table and pushing to the page? is that where all my Tylor Perry (Praise Her/The Force Is Female) fan tributes have been going? Those are hard to make. It takes a long time for my mom to put all that sour cream on me.
This is the 5 most recent in postwhenever_done. Let's make sure nothing is there that didn't actually post.
JasonCarswell|1733403476592|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=wfto6Ferr5I","title":"Fuel Price Con (10:53) ~ Richard Vobes","topic":"Energy, Exploitation, Pushback, ResistanceAnalysis","type":"link"}|1735108080735
JasonCarswell|1733910313913|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=8Nzewkrj26Y","title":"Assad Is Out, Woke Al Qaeda Is In VEED (4:45) ~ Caitlin Johnstone","topic":"PoliticalAnalysis, Syria, Zionism","type":"link"}|1735097280736
JasonCarswell|1732543052248|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=cz0MpWAELhM","title":"Kirk is Back! I’m Speechless! (19:18) ~ The Dave Cullen Show","topic":"StarTrek","type":"link"}|1735059682095
JasonCarswell|1733402778976|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=My_c-At8-cA","title":"Trudeau's Citizenship Requirements are Absurd 😡 (10:42) ~ Clyde Do Something","topic":"Canada, Migration, Terrorism","type":"link"}|1735029941686
JasonCarswell|1733319158513|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=ibcZen2hv1Q","title":"The Kind Of Ceasefire Where One Side Keeps Firing (5:44) ~ Caitlin Johnstone","topic":"Hypocrisy, Victimhood, War, Zionism","type":"link"}|1734978995246
I'm going to split my comments up to address different things.
So the post is a joke about Richard Stallman. He insisted that Linux be renamed to include his project name just because he wrote some software to run on top of Linux. He made sure to remind people of that about twice a public appearance for about 30 years.
I knew about the Gnu + kernel issue, and agree with his sentiments - but the lazier paradigm reigns. Also, I'm unclear where Gnu ends and Linux begins and when saying Gnu is inaccurate. Perhaps I should try harder as I do with proper F/LOSS over more ambiguous FOSS.
Suspected it was a joke, but it has merit and wasn't sure so I entertained it seriously. It is their ultimate goal to control everything, by a unified browser monopoly or other ways.
I should add some more transparency to it. Let me see if anything is in the database for it. It should post something out of the queue about once every 5 hours.
I did see some stuff in the queue. First let's make sure nothing is missing from it. This is what I've got.
JasonCarswell|1735692990476|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=LPieWJrlvE4","title":"Happy New Year. Our Society Is Every Bit As Diseased As You Suspect It Is. (4:58) ~ Caitlin Johnstone","topic":"Corruption, HappyNewYear, PsyOps, Tyranny","type":"link"}
JasonCarswell|1735694006110|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=Y3u_Fx4ii7w","title":"Have It All: Married People || Taylor Tomlinson 2024 (8:11)","topic":"StandUpComedy","type":"link"}
JasonCarswell|1735694735804|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=tX4E1rO2dT4","title":"Covid Sucked - Let's do it Again! (9:08) ~ Clyde Do Something","topic":"MedicalTyranny","type":"link"}
JasonCarswell|1735700067034|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=TZQQL_YUVzI","title":"The Internet's Most Hated Cartoonist [Stonetoss] (28:05) ~ TheGamerFromMars","topic":"Cartoons, Comics, PoliticalHumour","type":"link"}
JasonCarswell|1735701621631|{"user":"JasonCarswell","link":"https://www.youtube.com/watch?v=y3ZkCYpegLQ","title":"Oklahoma City bombing SOLVED! The shocking evidence that changes everything we were told | Redacted (28:08)","topic":"Conspiracy, FalseFlags, History, PsyOps, Tyranny","type":"link"}
Edit, the schema:
CREATE TABLE postwhenever (user text not null,time int,json text not null);
Thanks, but this is all Greek to me.
One day I'd be happy to detangle it for simpletons like myself with your help and share it on a wiki-FAQ - along with other features. For example, I don't even know how to share images or videos on your other online resources and don't even know if they are independent stand alone sites, sub-sites, or are tied in with the forum. Also, one day I'd like to dev some CSS themes.
I'd love to be able to 1) see the que list, 2) re-order the list, 3) edit/delete, 4) ideally in a simple GUI.
90% of it should look greek even to a nerd. The real question is does that have all of the titles of the posts you made lately or are any missing.
But I'm pretty sure it's all there. I think we've narrowed it down successfully to the transition not happening consistently when there are server resets happening.
Those posts seem legit.
I've added a few since.
Thanks!
It looks like the oldest one there is about half a day old, so that is interesting.
Out of all people, you use chrome?