artman

Joined 12 years ago

Karma
24
Submissions
12
Member since
Jan 24
iOS and Node engineering manager currently working at Groupon on Point Of Sale solutions and hands-free payment.
View on Hacker News

Recent submissions

Comment · 4 months ago
https://github.com/jakearchibald/idb is a nice low-level wrapper for IndexDB that promisifies the API without much performance overhead.
Comment · 4 months ago
The HTTP request is fired off instantly, so chances are that the request is already written to the socket and closing the page won't cancel the request. Should your wifi-router drop it, your client will retain the transaction on disk and retry it the next time you come online.
Comment · 4 months ago
Operations are on average applied within a few hundred milliseconds, and almost never fail. Because of this we treat the success path as default, and indicate that your changes haven't been applied only if we detect that you're offline, or if it takes more than 4 second to apply the changes.
Comment · 4 months ago
In reality conflicts almost never happen.
Comment · 4 months ago
Changes go through and synced to everyone on your team in almost realtime. If there's a conflict on the server and your change cannot be applied (almost never happens), your change is rolled back on your client, again, almost in realtime. If servers cannot be reached, we will show you a syncing badge within 4 seconds to tell you that you have made changes that haven't been sent to others yet.

Strange that we can be so be polar opposites on this. You hate it, I would never write an app in any other way, ever again.

Comment · 1 year ago
For inspiration, you might want to look at what we open sourced at Uber, https://github.com/uber-archive/jetstream-ios and https://github.com/uber-archive/jetstream/wiki/Protocol. While pretty immature and quite outdated nowadays, it did power one prototype in production and has a lot of the same concepts that we later used in Linear's sync engine.
Comment · 1 year ago
I think the impressive part here isn't Linear's sync engine, but the fact that Evan Hu went through painstakingly reverse-engineer the engine by inspecting traffic and obfuscated code and was able to write documentation that is correct and more complete than what Linear publishes internally.
Comment · 1 year ago
Comment · 4 years ago
We unfortunately don't currently have plans to provide self-hosting.
Comment · 8 years ago
Very nice!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton