if it's both, then better to put it on server side.
Posting here may be appropriate since it will affect some existing questions here and also clarifies what this community's scope is.
I would post a community proposal if necessary. If so, should I put a Meta post here or on /meta?
I did wonder if one has a question about an API one can post in both client and server communities, although that seems like contrived just for the sake of having a question asked. Anyhoo, I figured out my problem, it is just a matter of sharing what I know now here if there's a place for it. :D
I was trying to avoid posting a question until I understood my problem better but I doubt spinning my wheels is going to help so I've asked the question as is. Please take a look https://topanswers.xyz/web?q=1456
that looks fine as a proper question if you don't mind posting it?
in my code, I have const start_time = Date.now(); and then I have another Date.now() inside a function. I'm trying to stop puppeteer if the thing takes more than five and a half hours. any ideas? the whole code is at https://github.com/scrapeaction/techmeme2/blob/master/puppeteer.js
I don't use rxjs or angular but it sounds like you're wanting Server-Sent Events. It might help if you use the keywords "sse" or "server-sent events" when you search.
Hi! Wouldn't it be better to [ask your question](https://topanswers.xyz/question?community=web), as a "real" question? I think that would generate more focussed, informed, and helpful discussion than simply testing the waters in this more general "chat" area.
I used interval and subscribe from stack overflow answer for now... :) but I'd love to hear from you guys
Hi, does httpclient/rxjs/angular have some way to say do this get request every n seconds? Or better yet, what would be a good way to update a page that displays some text that it gets from json from a cms? I mean how would I know that the blog post has been updated without checking, right? and instead of asking "hey do you have anything new for me?" might as well ask "give me everything"? I mean I guess in the real world, I'd ask do you have something new for me but I'd still have to ask every so often, right? I mean the fancy way of doing things might be like a "heartbeat" where I send a "heart beat" to the server to say "Hey, I'm alive" and the server says "ok but I don't have anything new for you" or "oh hey, I have this new stuff for you" but at the end of the day I have to keep asking? or is there a fancy way to avoid this?
Proof of concept: https://myreactivematerial.web.app/
Thanks for reporting that @David, we've fixed the regression
@Jack Hiya - in posting that question, I had an odd thing happen. I filled it in, selected a tag, clicked "submit", and got this error message: `ERROR: invalid question CONTEXT: PL/pgSQL function _error(integer,text) line 1 at RAISE SQL function "_new_tag" statement 2 SQL function "new" statement 7`. Fortunately when I hit "back" on the browser (FF, MacOS), the input was still intact. I left off the tag, hit "submit", and it went fine. I then added "html" after it was posted. Thought you would want to know!