Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smarx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
smarx
11y ago
(I'm the blog post's author.) Concretely, it means we emailed everyone by hand with a Datastore API app that had a non-trivial number of users and offered to help. (If anyone didn't get an email, you might only have a couple
32.
▲
by
smarx
11y ago
1Password doesn't use the Sync API.
33.
▲
by
smarx
11y ago
Blog post author here. It definitely seems that I worded that part poorly. I hope the comments on the blog help clear this up, but it's a bit hard to talk about in the abstract. If you have an app that's using the Sync API, feel f
34.
▲
by
smarx
12y ago
The new API does support GET for requests that are cacheable (e.g. fetching a file or thumbnail). The RPC-style endpoints all use POST and are not cacheable.
35.
▲
by
smarx
12y ago
Is there some benefit to implementing it as a GET instead?
36.
▲
by
smarx
12y ago
See also https://www.dropbox.com/help/8807 .
37.
▲
Dropbox Sync – Heroku dev center
(devcenter.heroku.com)
12 points
by
smarx
12y ago
|
0 comments
38.
▲
by
smarx
12y ago
Oops, you're right! Here's a fixed version (just prefixing the timestamp to the value to make sure it's always unique). Of course, this entire class makes the assumption that you never write twice with the same timestamp. (Th
39.
▲
by
smarx
12y ago
Here's an implementation in Python built on top of Redis using sorted sets: class TimeStore: def __init__(self, redis_client): self.redis_client = redis_client @staticmethod def timestamp(time
40.
▲
by
smarx
12y ago
One big issue is that we're just not a good product fit for something heavy, so I would expect most people who want more than what we'll give them for $4.95/month to eventually discover that Webscript is the wrong service for
41.
▲
by
smarx
12y ago
Thanks for explaining!
42.
▲
by
smarx
12y ago
I don't think this is a real issue. For the scenario you're imagining, there would have to be an SMTP relay somewhere that met the following requirements: 1. It doesn't require authentication. (If it required authentication,
43.
▲
by
smarx
12y ago
Because we believe that the incremental cost of supporting such customers would exceed the additional revenue it would generate. (I guess that's a sort of trivial answer? Feel free to ask follow-up questions if you're genuinely cu
44.
▲
by
smarx
12y ago
No. The $4.95 plan is the only/largest plan we have.
45.
▲
by
smarx
12y ago
When someone starts hitting us with a lot of concurrent requests or storing a lot of data, we do sometimes have to ask people to change what they're doing.
46.
▲
by
smarx
12y ago
I'm glad you like it, but we have no plans to take payments in any other form. Is there a reason you don't want to use Stripe?
47.
▲
by
smarx
12y ago
Hi all! I'm one of Webscript's founders. It's nice to see Webscript back on HN. You may enjoy reading the discussion from a couple years back when we first launched: https://news.ycombinator.com/item?id=471868
48.
▲
by
smarx
12y ago
Hi! I'm one of Webscript's founders. What do you mean by spammers? If you're talking about email, Webscript can be made to talk to an SMTP server, but whoever writes the script could presumably have talked directly to that SM
49.
▲
by
smarx
12y ago
Definitely! Just as a shared hoster is less capable than running your own VM and a cash register is less capable than a laptop. That doesn't mean those things aren't useful. :-) I'd say that most of the time, people are more
50.
▲
by
smarx
12y ago
Hi, Webscript founder here. Generally, I think our customers fall into two large buckets: 1. Experienced developers who want something lighter-weight than, e.g., Heroku. 2. Inexperienced developers (perhaps even first-time developers) who a
51.
▲
by
smarx
12y ago
Regardless of what word comes next, it should probably be "24 x 7 x 52".
52.
▲
by
smarx
12y ago
Dropbox itself makes this even easier now. See https://www.dropbox.com/developers/blog/94/generate-an-acces... .
53.
▲
by
smarx
12y ago
Of course. :-)
54.
▲
by
smarx
12y ago
If you're polling client-side for a single account, you should just be using longpoll_delta[1] and delta[2]. But maybe I misunderstood the use case? [1] https://www.dropbox.com/developers/core/docs#longpoll-de
55.
▲
by
smarx
12y ago
I went ahead and published Python code to generate fake webhook requests. See https://github.com/dropbox/dropbox_hook .
56.
▲
by
smarx
12y ago
Take a look at https://www.dropbox.com/developers/webhooks/tutorial#best-pr... , specifically the part about managing concurrency. There are rate limits (per user) on the Dropbox side, but they're pretty high.
57.
▲
by
smarx
12y ago
Webhooks don't require SSL. We're going to publish a little Python script soon that can generate fake webhook notifications for local testing, but in the meantime, I'd suggest just using curl. Something like this: curl http:
58.
▲
Dropbox Webhooks
(dropbox.com)
210 points
by
smarx
12y ago
|
119 comments
59.
▲
by
smarx
13y ago
This is mostly what Carousel does. The photos are all stored in Dropbox. What it doesn't do is your #2, which is to automatically delete the photos from your local device after a period of time. You can do this safely yourself, though,
60.
▲
by
smarx
13y ago
I think I'm missing some context, but this probably isn't the right place to figure it out. Ping me on email (smarx@dropbox.com) if you want, though!
More ›