News for hackers. Stuff that matters.
Re:Cap'n Web: a new RPC system for browsers and web servers by svieira on Monday September 22, 2025 @05:48PM (#45339977)
Just a side note - reading https://tanstack.com/db/latest/docs/guides/live-queries#reus... I see:

    const isHighValueCustomer = (row: { user: User; order: Order }) => 
     row.user.active && row.order.amount > 1000
But if I'm understanding the docs correctly on this point, doesn't this have to be:

    const isHighValueCustomer = (row: { user: User; order: Order }) => 
      and(row.user.active, gt(row.order.amount, 1000))
Re:Cap'n Web: a new RPC system for browsers and web servers by samwillis on Monday September 22, 2025 @05:50PM (#45340007)
Yep, that's an error in the docs..