HNHacker News
TopNewBestAskShowJobs

realPubkey

610 karma · joined January 27, 2017

submissionscomments
realPubkey··on Show HN: Capsule – Single-file web apps that save their data into SQLite
This is possible with RxDB, you can sync from browser to google drive or ms onedrive
realPubkey··on Turn your best AI prompts into one-click tools in Chrome
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··on WebMCP is available for early preview
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··on Show HN: Offline JavaScript PubSub between browser tabs
This is likely done with the WebLocks API
realPubkey··on Ask HN: Small Ideas vs. Big Ideas?
By buildings small things, you will find ideas for bigger things that people actually need.
realPubkey··on Server-Sent Events (SSE) Are Underrated
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··on Misperception of the facial appearance that the opposite-sex desires
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··on Lucid dreaming app triples users' awareness in dreams, study finds
Imagine what you could dream about if you stopped THC.
realPubkey··on Lucid dreaming app triples users' awareness in dreams, study finds
You have to quit THC for at least two weeks until you start dreaming again.
realPubkey··on LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
Wow. This should be fixed. Which browser/OS are you using? Are you in dark mode?
realPubkey··on There Are Probably Dinosaur Remains on the Moon
Half-life of DNS bondings is about 10k years.
realPubkey··on Is Kenya the new Poland for offshore IT?
Same experience for me but with west africa.
realPubkey··on How to Check Which JavaScript Runtime Is Running Your Code
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··on SQLSync: A collaborative offline-first wrapper around SQLite
Looks great. How does it behave on conflicts when 2 offline users write to the same rows and then go online?
realPubkey··on Recovering electricity from heat storage hits 44% efficiency
When they reach lower temperatures like 900C, we could finally replace the inefficent hot water turbines in coal power stations.
realPubkey··on Texas Attracted California Techies. Now It's Losing Them
Which books are they banning?
realPubkey··on We want to know how you learned about Tor and how Tor has helped you
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··on A Chronicle reporter went undercover in high school
Is there any hidden information?
realPubkey··on A Chronicle reporter went undercover in high school
These "propaganda" makers will tell you straight into the face. It is upon you to not watch their content or buy their products.
realPubkey··on WebSockets vs. Server-Sent-Events vs. Long-Polling vs. WebRTC vs. WebTransport
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?
realPubkey··on Show HN: Pong Wars
But it seems that the balls speed increases with a bigger are.
realPubkey··on Filecoin Foundation Successfully Deploys IPFS in Space
Also the lookup time for files is too slow to use it on anything user facing.
realPubkey··on Triplit: Open-source DB that syncs data between server and browser in real-time
Rel https://rxdb.info/replication.html
realPubkey··on Triplit: Open-source DB that syncs data between server and browser in real-time
The problem with couchdb is that it does one request per document which makes the protocol slow for browser based applications also it has no http2 support. Also storing the full rev tree of the documents is what makes pouchdb slow. This is why RxDB moved away from pouchdb/couchdb to a replication which works on bulk operation and resolves conflicts directly when they happen, not afterwards.
realPubkey··on The Lack of Compensation in Open Source Software Is Unsustainable
Just close the issue section. Then you only have to review the PRs where CI is green.
realPubkey··on We used to build steel mills near cheap power. Now we build datacenters
30% of stuff on your "usefull" datacenters is just porn. Then we have 30% gaming servers and so on. Who are you to decide that this is more important as digital currency?

https://www.bbc.com/news/technology-23030090

realPubkey··on NPM is down due to Cloudflare Workers outage
IPFS random lookup time is about 30 seconds. A fresh npm install would take hours.
realPubkey··on Deno Queues
This. It could have been a npm package, why build it directly into Deno?
realPubkey··on Freelancers aren’t happy with Japan’s new invoice system
10% increase, not 10% in total.
realPubkey··on Ask HN: Why are so many OSS communities on Discord?
I did a user journey and most users wanted to switch from gitter to discord.
Page 1 of 8Next →