News for hackers. Stuff that matters.

jumski

Re:Ask HN: What Are You Working On? (January 2026) on Sunday January 11, 2026 @02:19PM (#46578874)
I'm building a Postgres-native workflow engine using pgmq for queues and TypeScript worker. Workflows compile to definitions (SQL rows), letting Postgres orchestrate the DAG as state machines. The TypeScript DSL is type-safe with inferred inputs/outputs across dependencies with full autocomplete.

Declarative and functional in nature. Just a manifest wiring functions into a DAG and a Postgres SQL functions that manage the graph of state machines. Simple in principle and very opinionated.

Replaces 240 lines of manual pg_cron -> pgmq -> Supabase Edge Function boilerplate with 20 lines of explicit DAG definitions. Currently Supabase-only (leverages their primitives) but planning to make it agnostic for vanilla Postgres setups.

Live demo / explanation here: https://demo.pgflow.dev

curious how you do the processing pipeline as wiring it up manually on supabase is kind of a pain
Re:Gaming on Linux has never been more approachable on Thursday November 20, 2025 @07:28AM (#45991897)
sounds kinda complicated, what would it bring over secure boot and whitelisted kernels that tapoxi suggested?
Re:Gaming on Linux has never been more approachable on Thursday November 20, 2025 @07:27AM (#45991888)
what tapoxi suggested above sounds like a reasonable compromise tbh, but i doubt it will ever happen, as the userbase is too small :-(
Re:Gaming on Linux has never been more approachable on Thursday November 20, 2025 @07:26AM (#45991884)
that sounds like a reasonable compromise, it may even provide more control and protection over what they are able to achieve on Windows?

i remember their anti cheat was utter crap tbh, not like something that Riot implemented for Valorant (a kernel-level system that runs from boot-up with deep system access)

interesting how much you were able to shave off of TOON!

i'm curious if you made any bechmarks but focused on LLMs being able to read that format with your teaching prompt?

Re:Gaming on Linux has never been more approachable on Thursday November 20, 2025 @05:00AM (#45990981)
I recently tried to run Apex Legends on my Manjaro (i played this a lot few years ago on my Windows dualboot), but it is impossible to play it on Linux, as EA/Respawn is preventing the game from running on Linux due to Anti cheat systems having troubles with protecting the game.

I'm really curious what would be the appropriate solution for an anti cheat that runs on Linux in a way that a) does not compromise my OS/privacy/security b) protects the game from cheaters at the same time.

Re:Dark Pattern Games on Monday November 17, 2025 @12:02PM (#45955508)
The same pattern is everywhere: addictive games, addictive food, addictive social-media content. It is really sad to see how society is driven by the monetization strategies of large companies.

I have a close friend who buried his depression under a pile of games built around these temporal reward loops. He’s not working and still living with his parents at 40.

Thank you for sharing this - awareness of these patterns needs to be spread.

Re:Replicate is joining Cloudflare on Monday November 17, 2025 @10:39AM (#45954539)
Very smart move - I assume the Workers will get tight integration with the Replicate APIs
just tried it and it works fine and produces properly named files with appropriate content - will come in handy, thank you!
Re:I finally understand Cloudflare Zero Trust tunnels on Monday November 17, 2025 @07:25AM (#45952996)
I'm using Netbird [0] for my home / private needs: - Synology NAS - All the laptops and desktops my family uses - All family mobile phones

Given i work in Tmux, its super convenient to take a laptop with me and just use it as a thin client to my Desktop wherever I am.

[0] https://netbird.io/

Re:Listen to Database Changes Through the Postgres WAL on Monday November 17, 2025 @06:38AM (#45952749)
Worth mentioning that WAL is enabling and used by Supabase Realtime [0] and WalEx [1] which both are doing very similar thing - polling the WAL changes in order to emit them as Websocket events.

I never worked with WalEx but have experience with Supabase Realtime and it is a joy to work with and fits great into the Supa ecosystem. So many layers are disappearing when you rely more on Postgres!

[0] https://github.com/supabase/realtime [1] https://github.com/cpursley/walex

Re:Blending SQL and Python with Sqlorm on Saturday November 15, 2025 @01:58PM (#45939699)
You reminded me of https://github.com/krisajenkins/yesql which inspired HugSQL which was an inspiration for PugSQL. Fun times!
Re:Show HN: spymux – Spy on your tmux panes on Saturday November 15, 2025 @06:15AM (#45936662)
You are not mistaken - the session selector shows the overview of all windows from given session. Very similar, but not full screen
Re:RegreSQL: Regression Testing for PostgreSQL Queries on Friday November 14, 2025 @07:36AM (#45926183)
no rush, take your time and enjoy the fame :-)
Re:RegreSQL: Regression Testing for PostgreSQL Queries on Friday November 14, 2025 @06:26AM (#45925822)
Good point! For the SQL functions I mentioned, I'm comfortable without triggers - all mutations go through functions (no direct table access), and only start_flow is user-fac ing.

That said, there ARE other places that would benefit from triggers (aggregate counts). I've avoided them because they're hot paths and I was worried about perf impact - relyi ng on pgTAP coverage instead.

Your defense-in-depth argument is solid though. I should revisit this and benchmark whether the safety is worth the perf cost. Something like RegreSQL would come in handy

Re:RegreSQL: Regression Testing for PostgreSQL Queries on Friday November 14, 2025 @06:07AM (#45925759)
No cliche at all - I'm in the same boat, showing my stuff online was way out of my comfort zone!

I was postponing proper, dedicated performance testing for some time and would really love to up my game in that regard.

I'm very happy with pgTAP approach of running stuff in transaction and rolling them back after the test - how this works in RegreSQL?

Would love to provide feedback and test the hooks when you will be working on them. I'm mostly interested in performance testing and my use case would be to run them on CI and compare to previous metrics stored somewhere in order to fail CI when performance regressions are introduced.

Happy to connect, got contact info in my profile.

Re:RegreSQL: Regression Testing for PostgreSQL Queries on Friday November 14, 2025 @04:43AM (#45925381)
Looks really well thought out and I will be testing it for sure!

I'm wondering how I would be able to regression-test functions in my project (pgflow [0]) - it tracks a graph of state machines modeled in few tables. State is mutated only by calling few exposed SQL functions (task queue worker does it).

Given I can't enforce everything I need with check constraints and I try to avoid triggers if possible, I opted for only using exposed SQL API [1] for setting up state in my pgTAP tests.

It is imperative and harder to maintain, like scripts you described in the article, but really my only option, as I want to have maximum confidence level.

Does RegreSQL support some kind of init scripts or I would need to wire it myself and just run RegreSQL after the proper state is set? Would lose the "run once and get report on everything" benefit then :-(

[0] https://pgflow.dev/ [1] https://github.com/pgflow-dev/pgflow/blob/main/pkgs/core/sup...

Re:Show HN: V0 for Svelte (svelte0), a Svelte UI generator on Friday November 14, 2025 @02:29AM (#45924705)
Would love to test it out
Are skills in your system related to Claude 's skills or modelem in similar way?

I love the idea of relying on markdowns and filesystem as universal API .The progressive discovery is great and very flexible and I'm regularly extracting parts of my workflow to small, focused skills.

Do you support LoRa or any plans for it?
Re:Show HN: V0 for Svelte (svelte0), a Svelte UI generator on Thursday November 13, 2025 @08:45PM (#45922920)
Does apps integrate with Supabase? Also, do you have a way to vibe code multi step workflows?

Curious, as I love Svelte and I just used it to implement the recent demo for pgflow (https://demo.pgflow.dev) and it was a breeze to integrate!

Re:Show HN: DBOS Java – Postgres-Backed Durable Workflows on Thursday November 13, 2025 @08:42PM (#45922908)
For the TypeScript version - how one would run it on Supabase Edge Functions / Deno?

Show HN: pgflow – Workflows for Supabase, no external services (Postgres-first)

https://demo.pgflow.dev/

Hi HN, I'm jumski. I spent last year building pgflow - a workflow orchestration engine built entirely on Supabase primitives (Postgres, Queues, Edge Functions, Realtime).How This StartedI was transitioning to Supabase and building a personal app with multi-step LLM pipelines. I needed these to trigger from DB changes, cron, and the browser - but every workflow solution required external...

( Read More... | no comments | on HN )
LOVE IT! Valetudo is a fake cloud that lives as a parasite in a robot's brain (running on Ubuntu!) and hijacks the original comms.

It provides ssh access, very nice control app, MQTT support and other things.

I installed it on my very old Roborock many years ago and it just works. Never had a single issue.

That is true, looking forward to your blog post!
Very interesting! Do you a comparison to PostgREST maybe?
Re:NanoChat – The best ChatGPT that $100 can buy on Tuesday October 14, 2025 @06:50AM (#45578458)
100$ to train a sort of talkable model in 4 hours? wow
Memory is hard! I'm very curious how the version history approach is working for you? Have you considered an age when retrieving? Is model supposed to manage the version history on its own? Is the semantic search used to help with that?
Congrats on the launch - CRIU snapshot/restore is very cool, especially for data-heavy pipelines like video processing.

Question: is a first-class Supabase/Postgres integration on the roadmap so we can (a) start Trigger jobs from SQL functions and (b) read job status via a foreign data wrapper? That "SQL-native job control (invoke from SQL, query from SQL)" path would make Trigger.dev feel native in Supabase apps.

Disclosure: I'm building pgflow, a Postgres-first workflow/background jobs layer for Supabase (https://pgflow.dev).

Older »