HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dmitry-vsl

no profile record

comments

dmitry-vsl
·10 bulan yang lalu·discuss
Probably better to use partitioned table and drop old partitions.
dmitry-vsl
·12 bulan yang lalu·discuss
> We had createScheduledPosts.ts that would run every 15 minutes, scan our table of scheduled posts and create any that needed to be published.

Why not set the publication_date when you create a post and have a function getPublishedPosts that fetches a list of posts, filtering out those with a publication_date earlier than the current date? With this approach, you don't need cron jobs at all.
dmitry-vsl
·tahun lalu·discuss
Is it possible to use batch mode with fine-tuned models?