Readit News logoReadit News
goleary commented on Production RAG: what I learned from processing 5M+ documents   blog.abdellatif.io/produc... · Posted by u/tifa2up
daemonologist · 2 months ago
It's described in the remainder of the point - they use an LLM to generate additional search queries, either rephrasings of the user's query or bringing additional context from the chat history.
goleary · 2 months ago
Here's an interesting read on the evolution beyond RAG: https://www.nicolasbustamante.com/p/the-rag-obituary-killed-...

One of the key features in Claude Code is "Agentic Search" aka using (rip)grep/ls to search a codebase without any of the overhead of RAG.

Sounds like even RAG approaches use a similar approach (Query Generation).

goleary commented on Sailing from Berkeley to Hawaii in a 19ft Sailboat   potter-yachters.org/stori... · Posted by u/protonbob
goleary · 9 months ago
> I did not invest the time to experiment with my SSB receiver and therefore never got any weather reports during the voyage.

wow

goleary commented on Learning not to trust the All-In podcast   passingtime.substack.com/... · Posted by u/paulpauper
mhluongo · a year ago
David Sacks*
goleary · a year ago
David *Sucks
goleary commented on Accidental database programming   sqlsync.dev/posts/stop-bu... · Posted by u/thunderbong
carlsverre · 2 years ago
Indeed it's a very hot space! So exciting to see all the different approaches.

ElectricSQL and PowerSync are both tackling the very hard problem of partial replication. The idea is to build a general solution which allows a traditional centralized db to bidirectionally sync only what's needed on the client side - while still supporting optimistic mutations (and all the consistency/conflict stuff that goes along with that).

The downside is implementation complexity. Both require the ability to keep track of precisely the set of data on each client in order to push out changes to only that subset of the overall database. In addition, specifying which subsets of the database state to pull down requires a new DSL and is a new thing to learn (and optimize). That said, I'm stoked they are taking on this extremely hard problem so when SQLSync is ready for partial replication someone will have already figured out the best practices.

SQLSync, on the other hand, only supports full db sync. So every client will see a consistent view of the entire database. You might immediately wonder if this is a good idea - and for some apps, it's not. But consider a personal finance app. The main goal is cross device sync, cloud backup, offline capable, etc. In this case having the entire db stored on every device is probably what you want. Another example is a document oriented data model, such as Airtable. Each Airtable could be a distinct database, thus leaving it up to the client to manage which tables they care about.

(added in edit:) By focusing on full db sync, the sync engine is much simpler than solutions that support partial replication. One benefit of this is that the backend is very lightweight. Currently the demo (https://sqlsync-todo.pages.dev) runs entirely within Cloudflare Durable Objects using very little storage and CPU time.

SQLSync has a ton of work to do to make these use cases possible (still very much a prototype), but my initial tests have been extremely promising. Hope this helps!

(edit: clarified language regarding centralized dbs and full db sync. Also added paragraph regarding full db sync)

goleary · 2 years ago
>But consider a personal finance app. The main goal is cross device sync, cloud backup, offline capable, etc. In this case having the entire db stored on every device is probably what you want.

A bit confused by this. If I'm a developer of a PFM, I don't want anything but a single user's financial data synced to their device. This sounds like partial replication to me.

goleary commented on Show HN: I built an inbox-zero expense tracker with CRDTs and SQLite in browser   tender.run... · Posted by u/stpn
stpn · 2 years ago
Woah, neat! It seems like we had pretty similar thinking for the kinds of workflows you'd want.

It looks like you have an Venmo integration ("Sent to Venmo" in screenshots) which I haven't quite cracked yet - curious if you're willing to talk about how it works. Tender has venmo via plaid, but it only supports importing tx, not initiating payments/requests.

I thought about either: integrating unofficially (https://github.com/mmohades/VenmoApiDocumentation) or just doing links to venmo payment (i.e. venmo.com/user?pay=500) and having some way to import venmo contacts

Neither seems great from a UX or security perspective.

goleary · 2 years ago
Yeah, my solution is just using a deep link - I'm unable to track whether or not the payment is completed due to the lack of a Venmo API.

I wrote about how it works here: https://gabeoleary.com/posts/venmo-deeplinking-including-fro...

When I wrote this it only worked on mobile. The deep link would take one into the app with the amount/details etc prefilled out. Just tested and it looks like the same format works on desktop now too.

I had until just now not realized that Plaid has a Venmo integration.

I could imagine using the deep link to begin the transaction and then using the plaid connection to look for it's completion...

goleary commented on Show HN: I built an inbox-zero expense tracker with CRDTs and SQLite in browser   tender.run... · Posted by u/stpn
goleary · 2 years ago
I tried to link Splitwise, but keep getting "The authorization flow was cancelled" While the authorization window is open.
goleary · 2 years ago
Although it seems to have actually linked successfully after going through the Splitwise auth flow despite this error.
goleary commented on Show HN: I built an inbox-zero expense tracker with CRDTs and SQLite in browser   tender.run... · Posted by u/stpn
goleary · 2 years ago
I tried to link Splitwise, but keep getting "The authorization flow was cancelled" While the authorization window is open.
goleary commented on Show HN: I built an inbox-zero expense tracker with CRDTs and SQLite in browser   tender.run... · Posted by u/stpn
goleary · 2 years ago
Very cool, I signed up for a trial to kick the tires!

I created a tool that helps people stay on top of shared transactions (https://reconcile.app/) a few years ago and have recently been working on another iteration of it that has some similarities to what you've built, but with a focus on couples who share much of but not all of their financial lives.

goleary commented on TaxyAI: Open-source browser automation with GPT-4   github.com/TaxyAI/browser... · Posted by u/kcorbitt
frankthedog · 3 years ago
Similar to this, does anyone know if a browser extension that I can paste in (or choose from some saved snippets) a series of playwright or puppeteer steps and have it execute? I could use the saved snippets in the sources tab of dev tools but miss the auto waiting and other niceties. This project seems a bit too slow and non-deterministic.
goleary · 3 years ago
I don't know about being able to paste in Playright steps, but a friend of mine has an extension built around extension based browser automation: https://browserflow.app/

You can record steps & have the extension replay them on your machine or in the cloud (presumably using puppeteer/playwright).

u/goleary

KarmaCake day305October 23, 2013View Original