Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jinjin2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
The first decade of augmented reality
(ben-evans.com)
2 points
by
jinjin2
10y ago
|
0 comments
122.
▲
by
jinjin2
10y ago
> Compared to 'real' problems that the world faces What problems are more 'real' than 1 million people dying each year from car related injuries?
123.
▲
by
jinjin2
10y ago
Realm is awesome for this. It is not a relational database in the traditional (SQL) sense, but more of an object database that allows for relations between the objects. Their sync backend is pretty neat.
124.
▲
by
jinjin2
10y ago
Realm is pretty close (it is not offered as-a-service, but they have a free version you can run yourself).
125.
▲
by
jinjin2
10y ago
There are plenty of those available in the US. Check out https://www.alivecor.com/en/ for an example.
126.
▲
by
jinjin2
10y ago
Realm has been available for many years and is actually really different from what else is out there by the fact that it is a real object database. It has just been flying under the radar a bit given that it has only been available for mobi
127.
▲
by
jinjin2
10y ago
We are considering to use Realm to replicate our data out to all our docker instances. They would essentially work like databases local to each instance, and if the instance dies we simply spin up another one which will replicate out the sa
128.
▲
by
jinjin2
10y ago
Yes, it would remove a lot of complexity for us if we could use the same data store for both our mobile apps and websites, and with the node.js version of realm it seems almost possible (except we need sync to be able to access the same dat
129.
▲
by
jinjin2
10y ago
Awesome! Now the question is when the node.js version with sync becomes generally available? We would really like to be able to use it to back our websites as well as our mobile apps.
130.
▲
by
jinjin2
10y ago
Have you tried Realm? It works both with native apps and React Native, and is awesome for making apps that works seamlessly offline.
131.
▲
by
jinjin2
10y ago
We have been experimenting with using Realm as the backing database for our Express based website. Not something we have been ready to put into production yet, but the dev experience of having direct access to all your objects right there i
132.
▲
by
jinjin2
10y ago
This looks great. Realm has been a game changer at our workplace, but we have not yet ventured to use the platform features as it still seemed a bit too early to rely on. I will definitely take another look now that it is out of beta.
133.
▲
by
jinjin2
10y ago
It is a very different model, but have you tried Realm? It is more of an object model that a straight up JSON store, but it has some of the best notification features I have tried. You can observe both object and query results in realtime,
134.
▲
by
jinjin2
10y ago
What I would really like to see would be Realm in the browser. My experience using it (for mobile development) has been so much better than what I went through with IndexedDB as web developer that it is not even funny. Now that Realm is ent
135.
▲
by
jinjin2
10y ago
I guess that you could think of Realm as an immutable data structure (as it is immutable outside of very specific conditions like inside write transactions and a state refreshes at "safe" points in the code. But the experience is
136.
▲
by
jinjin2
10y ago
> how do you prevent one thread from seeing another thread's transaction in progress? In Realm this is done by each thread having its own immutable snapshot of the data which is only advanced to the latest state at very specific &qu
137.
▲
by
jinjin2
10y ago
> object-oriented programming makes for terribly inefficient data structures that cannot handle threading very well. The best approach I have seen to address this is the idea of transactional object as it is done in Realm (yes, the mobil
138.
▲
by
jinjin2
10y ago
Awesome. I have been waiting on this feature for ages. Passing objects by their primary key worked kinda ok, but being able to safely pass lists and query results is a game changer.
139.
▲
by
jinjin2
10y ago
I guess there are two ways to define cross-platform. The obvious one is the software being available for more than one platform, but since that could really be accomplished with two separate implementations, there is also the more generic d
140.
▲
by
jinjin2
10y ago
Did you consider using an off-the-shelf solution like Realm? In my experience it made it trivial to handle the synchronization of arbitrarily complex object graphs (including those with circular dependencies).
141.
▲
by
jinjin2
10y ago
> he's absolutely going to get used as a tool in smarter people's schemes This is already happening. Just see how the president of Taiwan played him, calling him up without going through the state department, in the full knowle
142.
▲
by
jinjin2
10y ago
Real object databases like Realm also makes it trivially easy to build these kinds of hierarchical models, and I personally find it a bit easier to think about as objects with references to other objects as opposed to the more generic graph
143.
▲
by
jinjin2
10y ago
We did something similar using Realm (granted it was in a native mobile app, but I think they have a node port now) and it really kicked ass performance wise even with a boatload of observable queries.
144.
▲
by
jinjin2
10y ago
Realm has the best implementation of live realtime updating objects/queries that I have tried, but the model is bit different from databases like Rethink in that it is an embedded database that you run locally (but which can then live
145.
▲
by
jinjin2
10y ago
You should try Realm. We radically simplified the architecture of our app by using Realm as the authoritative source of data (equivalent to a redux store) and then having all the views reacting to changes in the model. This also allowed us
146.
▲
by
jinjin2
10y ago
We were considering RethinkDB for a mobile project, but ended up using Postgres on the backend and Realm in the apps with a custom REST API in between. This worked out really well for us, apart from all the work on implementing our own REST
147.
▲
by
jinjin2
10y ago
Better support for Realm. All our apps (native apps both on iOS and Android) are build around Realm as the shared data model and while I prefer Windows as my dev platform the lack of support for Realm in Visual Studio and the fact that ther
148.
▲
by
jinjin2
10y ago
Instead of thinking "time for SQL" you should consider using a real object database (like Realm). In my experience that will map much better to the data structures in your program.
149.
▲
by
jinjin2
10y ago
A bit out of the scope, since it is an embedded database designed to run on mobile devices, but Realm[1] is a NoSQL database (in this case Object Database) with full ACID transactions, and is running on millions of devices. [1] http:/