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!
I might ask (and answer!) it anyway, as it took a little scratching to find.
@@@ wikipedia a3d554251ca071354eada1d056534db9a6a4a2545d16799ba025fbd1fb1e186f VnH "Magento" "Magento is an open-source e-commerce platform written in PHP. It uses multiple other PHP frameworks such as Laminas and Symfony. Magento source code is distributed under Open Software License (OSL) v3.0, an Open Source Initiative (OSI)-approved licen…"
not sure if this will fit the bill, but have you heard of Magento?
My knowledge regarding web is zero. I am currently working on a project which will require a payment gateway for some payments on the web & web designers are charging me insane amount of money for the same. Before proceeding I thought it's a good idea to see if it is too tough to build a website with payment gateways. My core requirements are -
* Having a webpage which is dynamic. (I must be able to change it at any point of time.)
* It must have a secure payment gateway.
* I shall be able to upload at least image files and pdf files on it.
If at all discussion regarding this is on-topic on this site please let me know, I'll post this as a question. I am ready to learn some web-programming for the development of that webpage if it is not too difficult, but the crucial requirement is its security and less learning curve.