HackerTrans
TopNewTrendsCommentsPastAskShowJobs

realPubkey

no profile record

Submissions

Local-Second, Event-Driven Webapps

softwaremill.com
2 points·by realPubkey·il y a 10 mois·0 comments

[untitled]

1 points·by realPubkey·il y a 11 mois·0 comments

Unlocking Value on the Private Internet

julianduru.com
1 points·by realPubkey·il y a 11 mois·0 comments

First time building an LMS: Offline first

polymorph.co.za
1 points·by realPubkey·il y a 2 ans·0 comments

[untitled]

1 points·by realPubkey·il y a 3 ans·0 comments

[untitled]

1 points·by realPubkey·il y a 3 ans·0 comments

comments

realPubkey
·il y a 3 mois·discuss
A big limitation for skills (or agents using browsers) is that the LLM is working against raw html/DOM/pixels. The new WebMCP API solves this: apps register schema-validated tools via navigator.modelContext, so the agent has structured JSON to work with and can be way more reliable.

WebMCP is currently being incubated in W3C [1], so if it lands as a proper browser standard, this becomes a endpoint every website can expose.

I think browser agents/skills+WebMCP might actually be the killer app for local-first apps [2]. Remote APIs need hand-crafted endpoints for every possible agent action. A local DB exposed via WebMCP gives the agent generic operations (query, insert, upsert, delete) it can freely compose multiple steps of read and writes, at zero latency, offline-capable. The agent operates directly on a data model rather than orchestrating UI interactions, which is what makes complex things actually reliable.

For example the user can ask "Archive all emails I haven't opened in 30 days except from these 3 senders" and the agent then locally runs the nosql query and updates.

- [1] https://webmachinelearning.github.io/webmcp/

- [2] https://rxdb.info/webmcp.html
realPubkey
·il y a 4 mois·discuss
The last days I built the WebMCP plugin for the RxDB database [1]

The goal is to let agents interact with apps through explicit tools instead of DOM scraping or visual navigation. This works nicely because agents can run operations directly on the local-first data the UI already uses.

[1] https://rxdb.info/webmcp.html
realPubkey
·l’année dernière·discuss
This is likely done with the WebLocks API
realPubkey
·l’année dernière·discuss
By buildings small things, you will find ideas for bigger things that people actually need.
realPubkey
·il y a 2 ans·discuss
Yes most servers support websockets. But unfortunately most proxies and firewalls do not, especially in big company networks. Suggesting my users to use SSEs for my database replication stream solved most of their problems. Also setting up a SSE endpoint is like 5 lines of code. WebSockets instead require much more and you also have to do things like pings etc to ensure that it automatically reconnects. SEEs with the JavaScript EventSource API have all you need build in:

https://rxdb.info/articles/websockets-sse-polling-webrtc-web...
realPubkey
·il y a 2 ans·discuss
No. The title is the title, not the context. If people do not read the first 5 sentences of the introduction, you cannot help anyway.
realPubkey
·il y a 2 ans·discuss
Imagine what you could dream about if you stopped THC.
realPubkey
·il y a 2 ans·discuss
You have to quit THC for at least two weeks until you start dreaming again.
realPubkey
·il y a 2 ans·discuss
Wow. This should be fixed. Which browser/OS are you using? Are you in dark mode?
realPubkey
·il y a 2 ans·discuss
Half-life of DNS bondings is about 10k years.
realPubkey
·il y a 2 ans·discuss
Same experience for me but with west africa.
realPubkey
·il y a 2 ans·discuss
Most of the time you should not even check for the runtime. Instead you should check for the specific feature support that you want to use.
realPubkey
·il y a 2 ans·discuss
Looks great. How does it behave on conflicts when 2 offline users write to the same rows and then go online?
realPubkey
·il y a 2 ans·discuss
When they reach lower temperatures like 900C, we could finally replace the inefficent hot water turbines in coal power stations.
realPubkey
·il y a 2 ans·discuss
Which books are they banning?
realPubkey
·il y a 2 ans·discuss
[flagged]
realPubkey
·il y a 2 ans·discuss
I use it in production so i can crawl instagram (and others) without paying for proxies. Tor is single threaded so I have 6 docker containers that run tor proxies to get more bandwith out of it. The best thing about tor is that you set it up once and it will work forever for free.
realPubkey
·il y a 2 ans·discuss
Is there any hidden information?
realPubkey
·il y a 2 ans·discuss
These "propaganda" makers will tell you straight into the face. It is upon you to not watch their content or buy their products.
realPubkey
·il y a 2 ans·discuss
Author here. The article is mostly about web apps. How would your signaling server emit new connection updates to clients in the scenario you describe?