typingmonkey
typingmonkey on Hacker News
Posted by
typingmonkey on Sunday February 12, 2023 @03:02PM
from the localfirstweb.dev dept.
The use case is to build a RxDB plugin that backups the users data into the prequel api.
Is there a way to get a stream of changes out of prequel (via websocket)?
That would make it possible to live-sync between the customer's devices.
Using SQLite in the browser is great until you have users that open your app in more then one browser tab.
Zuckerberg will stop developing the metaverse.
To not fix other peoples bugs on my github repos.
Mark Rober also gets support from the LA police while they do not care about normal peoples theft.
That would only confirm that the new lichess version is faster, but not that scala3 is faster then scala2.
Posted by
typingmonkey on Thursday December 01, 2022 @10:05AM
from the rxdb.info dept.
I do not understand this hatred agains browsers or javascript in this thread. It is not like the author has invented the world and is now responsible for it.
Btw. I made a similar tool that lets you wrap calls to resource X and then run call Y when X is idle. For example you can de-prioritise network requests or database writes. https://github.com/pubkey/custom-idle-queue
Posted by
typingmonkey on Tuesday November 22, 2022 @12:55PM
from the rxdb.info dept.
Isnt that what twitter has already done in the last years?
Fair point. From my experience people often think ipfs works equal to sth like a shared drive or filecoin, so I had to point that out.
You cannot "put stuff" on ipfs. Either you seed it or someone else does. If noone seeds it, it is gone.
I bet most of it will be offline in 3 months.
In germany it is called the holy-johannes-grasp.
Satoshi Nakamoto used 2 spaces after a period.
> reimplement IndexedDB using FoundationDB. IndexedDB is also a key value..
I did sth pretty similar last month: https://rxdb.info/rx-storage-foundationdb.html
It supports indexes, mongoDB queries etc. to store and query JSON documents via RxDB on top of FoundationDB.
Posted by
typingmonkey on Tuesday September 20, 2022 @04:34AM
from the sabre.com dept.
Originally it was 3200 eth, but the price has risen too much.
Ok now I understand.
You can come to the RxDB discord for a chat if you want. I am really interessted in using WebAssembly for browser side storage.
I look forward to the day where someone reimplements IndexedDB via Webassembly, with the exact same API, so that we have a faster IndexedDB which uses the old one as storage layer :)
Thank you for these links, I will inspect that.
As far as I know, accessing IndexedDB from WebAssembly only works by passing the data through the JavaScript layer (correct me if I am wrong). So from how I think WebAssembly works, it is likely not any faster then directly doing that in JavaScript. I mean, the storage layer does not have to do any heavy computations, so tunneling the data would be more expensive then what you get from plain js.
When you store the data into an IndexedDB based key-value store, how does the querying work?
Do you still use IndexedDBs secondary indexes when a query only matches a range of documents, or does the K-V store has any method to support querying a subset of the data without fetching the whole database state?
I am developing a web/JavaScript database for several years now [1]. What I do not understand is, how graph based databases, (like surrealDB or gundb) plan to have great performance when they run in the browser. The thing is that you are always limited to store your data inside of the browsers IndexedDB. So as soon as you do not work with the same document-based model similar to the IndexedDB API, you will have big troubles when it comes to performance. For example how can you store and query graph based data in IndexedDB without heavily overfetching either on read or on writes? IndexedDB is already way too slow.
[1] https://github.com/pubkey/rxdb
Posted by
typingmonkey on Monday August 15, 2022 @08:49AM
from the github.com dept.
Posted by
typingmonkey on Saturday February 05, 2022 @09:29AM
from the github.blog dept.
Posted by
typingmonkey on Monday January 24, 2022 @03:06AM
from the rxdb.info dept.