frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: iPlotCSV: CSV Data, Visualized Beautifully for Free

https://www.iplotcsv.com/demo
1•maxmoq•51s ago•0 comments

There's no such thing as "tech" (Ten years later)

https://www.anildash.com/2026/02/06/no-such-thing-as-tech/
1•headalgorithm•1m ago•0 comments

List of unproven and disproven cancer treatments

https://en.wikipedia.org/wiki/List_of_unproven_and_disproven_cancer_treatments
1•brightbeige•1m ago•0 comments

Me/CFS: The blind spot in proactive medicine (Open Letter)

https://github.com/debugmeplease/debug-ME
1•debugmeplease•2m ago•1 comments

Ask HN: What are the word games do you play everyday?

1•gogo61•4m ago•1 comments

Show HN: Paper Arena – A social trading feed where only AI agents can post

https://paperinvest.io/arena
1•andrenorman•6m ago•0 comments

TOSTracker – The AI Training Asymmetry

https://tostracker.app/analysis/ai-training
1•tldrthelaw•10m ago•0 comments

The Devil Inside GitHub

https://blog.melashri.net/micro/github-devil/
2•elashri•10m ago•0 comments

Show HN: Distill – Migrate LLM agents from expensive to cheap models

https://github.com/ricardomoratomateos/distill
1•ricardomorato•10m ago•0 comments

Show HN: Sigma Runtime – Maintaining 100% Fact Integrity over 120 LLM Cycles

https://github.com/sigmastratum/documentation/tree/main/sigma-runtime/SR-053
1•teugent•11m ago•0 comments

Make a local open-source AI chatbot with access to Fedora documentation

https://fedoramagazine.org/how-to-make-a-local-open-source-ai-chatbot-who-has-access-to-fedora-do...
1•jadedtuna•12m ago•0 comments

Introduce the Vouch/Denouncement Contribution Model by Mitchellh

https://github.com/ghostty-org/ghostty/pull/10559
1•samtrack2019•12m ago•0 comments

Software Factories and the Agentic Moment

https://factory.strongdm.ai/
1•mellosouls•13m ago•1 comments

The Neuroscience Behind Nutrition for Developers and Founders

https://comuniq.xyz/post?t=797
1•01-_-•13m ago•0 comments

Bang bang he murdered math {the musical } (2024)

https://taylor.town/bang-bang
1•surprisetalk•13m ago•0 comments

A Night Without the Nerds – Claude Opus 4.6, Field-Tested

https://konfuzio.com/en/a-night-without-the-nerds-claude-opus-4-6-in-the-field-test/
1•konfuzio•15m ago•0 comments

Could ionospheric disturbances influence earthquakes?

https://www.kyoto-u.ac.jp/en/research-news/2026-02-06-0
2•geox•17m ago•1 comments

SpaceX's next astronaut launch for NASA is officially on for Feb. 11 as FAA clea

https://www.space.com/space-exploration/launches-spacecraft/spacexs-next-astronaut-launch-for-nas...
1•bookmtn•18m ago•0 comments

Show HN: One-click AI employee with its own cloud desktop

https://cloudbot-ai.com
2•fainir•20m ago•0 comments

Show HN: Poddley – Search podcasts by who's speaking

https://poddley.com
1•onesandofgrain•21m ago•0 comments

Same Surface, Different Weight

https://www.robpanico.com/articles/display/?entry_short=same-surface-different-weight
1•retrocog•24m ago•0 comments

The Rise of Spec Driven Development

https://www.dbreunig.com/2026/02/06/the-rise-of-spec-driven-development.html
2•Brajeshwar•28m ago•0 comments

The first good Raspberry Pi Laptop

https://www.jeffgeerling.com/blog/2026/the-first-good-raspberry-pi-laptop/
3•Brajeshwar•28m ago•0 comments

Seas to Rise Around the World – But Not in Greenland

https://e360.yale.edu/digest/greenland-sea-levels-fall
2•Brajeshwar•28m ago•0 comments

Will Future Generations Think We're Gross?

https://chillphysicsenjoyer.substack.com/p/will-future-generations-think-were
1•crescit_eundo•31m ago•1 comments

State Department will delete Xitter posts from before Trump returned to office

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
2•righthand•34m ago•1 comments

Show HN: Verifiable server roundtrip demo for a decision interruption system

https://github.com/veeduzyl-hue/decision-assistant-roundtrip-demo
1•veeduzyl•35m ago•0 comments

Impl Rust – Avro IDL Tool in Rust via Antlr

https://www.youtube.com/watch?v=vmKvw73V394
1•todsacerdoti•35m ago•0 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
3•vinhnx•36m ago•0 comments

minikeyvalue

https://github.com/commaai/minikeyvalue/tree/prod
3•tosh•41m ago•0 comments
Open in hackernews

How to run cron jobs in Postgres without extra infrastructure

https://wasp.sh/blog/2025/05/28/how-to-run-cron-jobs-in-postgress-without-extra-infrastructure
90•Liriel•8mo ago

Comments

xnx•8mo ago
No mention of pg_cron?
etchalon•8mo ago
It's what I expected to be talked about exclusively in the article based on the title.
eddythompson80•8mo ago
apples and oranges?

pg_cron is for pg specific cron tasks. You use pg_cron to truncate a table, compute pg views, values, aggregates, etc. Basically just running PG queries on a CRON schedule.

pg_cron itself won't run an external script for you. Like you can't do

    SELECT cron.schedule('0/30 * * * *', $$ ./sendEmails.sh $$);

you can use pg_cron to insert a job-row in a jobs table that you have some consumer that runs a `select * from jobs where status = 'pending' limit 1;`. Then you're on the hook to handle the pg updates for dispatching and handling updates, job status, etc. You could even call that implementation pg-boss if it's not taken.
hoppp•8mo ago
There is an HTTP extension for postgres, so it can trigger external serverless functions via http request
cpursley•8mo ago
What’s the name of that?
hoppp•8mo ago
https://github.com/pramsey/pgsql-http

It works well with Supabase, I tried it, its decent but you should only use it for endpoints you trust because waiting for the request is blocking.

If you want the requests to be async you need to use pg_background extension with it

hyperman1•8mo ago
The postgres COPY FROM PROGRAM will run external scripts, as the postgres user. Not necessarily a good architecture, of course. I did one day manage to fix a broken sshd with it by passing it su commands (rate that experience as 0 stars, would not recommend)
SoftTalker•8mo ago
Cron isn't an acronym; it's not normally written in all caps.

Cron's name originates from Chronos, at least according to Wikipedia.

tbrownaw•8mo ago
I can't check at the moment, but IIRC the output of `ps` on $employer's AIX boxes disagrees about it not being all-caps.
NeutralForest•8mo ago
Tangential since it's not PG related but I'm more and more moving away from cron and I prefer using systemd timers (I'm on RHEL at work). I just find the interface to list and manager timers better and I can just handle everything like a systemd service anyways.
jimis•8mo ago
What is the systemd equivalent for `service crond stop` and later `service crond start`?

In other words, I want to disable all jobs for some time (for benchmarking) and then bring them back up.

sherburt3•8mo ago
Maybe you could make a target unit file like “jobs.target” and in your timer unit files do “WantedBy=jobs.target”. Then you could do “systemctl start/stop jobs.target”
r2_pilot•8mo ago
First, list and save the currently active timers: ```bash systemctl list-timers --state=active --no-legend | awk '{print $NF}' > /tmp/active_timers.txt ```

Stop all active timers: ```bash sudo systemctl stop $(cat /tmp/active_timers.txt) ```

Later, restart the previously active timers: ```bash sudo systemctl start $(cat /tmp/active_timers.txt) ```

samtheprogram•8mo ago
I would try *.timer. If you’re in zsh, quote it.
NeutralForest•8mo ago
Like the others said, you have to list them and save it somewhere, it could be better in that regard.
zie•8mo ago
I have nothing against pg_boss[0] from the articel (I don't know anything about it), but there are plenty of queues and crons and schedulers for PG

Some others:

* https://github.com/LaunchPlatform/bq

* https://github.com/cybertec-postgresql/pg_timetable

* https://github.com/pgmq/pgmq

* https://github.com/riverqueue/river

* https://github.com/oban-bg/oban

* https://github.com/pgadmin-org/pgagent

* https://github.com/citusdata/pg_cron

etc. There are plenty of options to choose from.

0: https://github.com/timgit/pg-boss

TkTech•8mo ago
Gonna toss my own hat in the ring there for the python+postgres ecosystem :)

https://github.com/tktech/chancy

> As a rule of thumb, if you're processing less than 1000 jobs per day or your jobs are mostly lightweight operations (like sending emails or updating records), you can stick with this solution.

This seems... excessively low? Chancy is on the heavier side and happily does many millions of jobs per day. Postgres has no issue with such low throughput, even on resource constrained systems (think a $5 vps). Maybe they meant 1000 per second?

zie•8mo ago
I missed that. That does seem very small, 1k jobs/day is nothing.

Chancy also looks pretty neat. Thanks for sharing!

cpursley•8mo ago
Also worth mentioning: https://www.pgflow.dev/
wewewedxfgdf•8mo ago
There's many ways to skin this cat. Personally I invested all my knowledge and focus into systemd timers. No doubt you have your own ways that make sense for you.
verdverm•8mo ago
There's no systemd running in containers, so not an option in a lot of common scenarios
sampullman•8mo ago
I haven't done it myself, but it seems possible with Podman or LXC containers. There's systemd-nspawn, too.
hiAndrewQuinn•8mo ago
I like systemd when I have it; on the other end is the BusyBox cron implementation https://wiki.alpinelinux.org/wiki/Cron
verdverm•8mo ago
I recently used PG-Boss to setup jobs to refresh auth tokens in the background. Very easy to use, would recommend taking a look. Docs are a bit minimal, but there's not that much to it either. (https://timgit.github.io/pg-boss/#/)

You don't need WASP for any of this, certainly not worth learning their custom DSL for it. Two of their points about how it makes it better are moot, setting queue names (one line of code) and type safety (you should be using TS already). I've not seen the value in their abstractions and indirection.

lukasb•8mo ago
I can't be the only Next.js / neon user looking at this
mitjam•8mo ago
Kubernetes CronJobs are nice and if you are on K8s, already, it’s also without extra infrastructure.
mati365•8mo ago
This article seems to be written entirely by AI :/
jbverschoor•8mo ago
Cron/systemd/launchd is nice for machine-level tasks.

If you want application or platform level tasks, you’re better off scheduling a task on which ever job queue you run. That could also be pg.

That way you can have platform-wide unique tasks, probably better monitoring / tracing, etc.

jackb4040•8mo ago
I have a node app that has one-off scheduled tasks. Between node-cron and real Linux cron, I went with real cron because node-cron just polls every second, which is extremely inefficient and I'm on a free tier.

How does your library work in this regard? If my node server is down, will my scheduled tasks still execute? I notice you have a .start() method, what does that do? Is it polling periodically?

xqzv•8mo ago
It's polling using javascript timers: https://github.com/timgit/pg-boss/blob/master/src/attorney.j...
OJFord•8mo ago
Or the aptly named pg_cron which is in RDS for example. TFA is just a marketing piece for Wasp, presumably to improve its SEO since 'postgres cron' more obviously gets you to pg_cron otherwise.