Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rattray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
rattray
2y ago
> Stripe are lying when they say their IDs are random Where does Stripe make that claim? I think most of the value of Stripe-style IDs is in their other properties, like the information they bear, readability, copy-pasteability (which uu
92.
▲
by
rattray
2y ago
Either of those situations should be very easy to catch and prevent with basic rate limiting and monitoring.
93.
▲
by
rattray
2y ago
Anyone else confused with this name vs Microsoft Entra, the new name for Active Directory? Is there any shared etymology between Ente and Entra? I'm curious where both come from.
94.
▲
by
rattray
2y ago
Stainless | Generalist Engineers, First AE | NYC ONSITE | Full-time Stainless is building the platform for high-quality, easy-to-use APIs. Our first product is SDKs as a service. When you `npm install openai` or `pip install anthropic` or `
95.
▲
by
rattray
2y ago
Ah, interesting! Thanks!
96.
▲
by
rattray
2y ago
Right; what does it look like with bun?
97.
▲
by
rattray
2y ago
Sorry if I'm being dense/lazy, but can you give an example of what this looks like: > Bun shell replaced the need for something like “concurrently”.
98.
▲
by
rattray
2y ago
What do you mean "got shutdown"? What happened?
99.
▲
by
rattray
2y ago
What do you know of / think of Daniel Gross? What is his reputation?
100.
▲
by
rattray
2y ago
Is there more you can share, or point to? Sounds like he might become an important player soon and it'd be helpful for people to learn what they can.
101.
▲
by
rattray
2y ago
Stainless | Generalist Engineers, First AE | NYC ONSITE | Full-time (We were on hn recently: https://news.ycombinator.com/item?id=40146505 ) Stainless is building the platform for high-quality, easy-to-use APIs. Our first pr
102.
▲
by
rattray
2y ago
(I develop client SDKS) It could make sense for first-party SDKs for an API to block http access to the first-party API domain, but that should be unnecessary – typically users would use the default base URL hardcoded in the client library,
103.
▲
by
rattray
2y ago
I mean, did they specifically check that the Kindle app works well on their OS.
104.
▲
by
rattray
2y ago
Is the kindle app not supported?
105.
▲
by
rattray
2y ago
If someone from the wikimedia enterprise team is here and interested in providing those SDKs, but finds the openapi generator linked above to be lacking, I'd be happy to help (my company does the SDKs for OpenAI, Cloudflare, etc). I&#x
106.
▲
by
rattray
2y ago
Title needs a (2020) - this is an old classic. It does have a minor 2023 update to include more sample code.
107.
▲
by
rattray
2y ago
Stainless | Generalist Engineers, First AE | NYC ONSITE | Full-time (We were on hn recently: https://news.ycombinator.com/item?id=40146505 ) Stainless is building the platform for high-quality, easy-to-use APIs. Our first pr
108.
▲
by
rattray
2y ago
It definitely isn't easy, but it's the kind of challenges we love! You mentioned many of the big ones, but there's also just the sheer scale of the userbase, which means the libraries will be run under every permutation of ru
109.
▲
by
rattray
2y ago
Very different! Stainless crafts each language's SDK generator around its specific idioms.
110.
▲
by
rattray
2y ago
> We didn't ship public SDKs. So, maybe that's what I'm missing Yeah, Stainless is more focused on public SDKs, which can be a lot trickier and more demanding. Some more details replying to your other comment here: https:
111.
▲
by
rattray
2y ago
If it works great for you, that's great – stick with it! From what I've seen, a lot of API developers find that openapi-generator flat-out breaks or produces broken code for their OpenAPI spec (varies language-to-language of cours
112.
▲
by
rattray
2y ago
> I don't know where to start to actually codegen an OpenAPI spec from a Ruby/Rails API… How did Stripe handle this? Stripe built their own Ruby DSL for exactly this, and it worked great. It looked something like this: cl
113.
▲
by
rattray
2y ago
Yeah, we opted for classes like this to ensure simple, reliable static typing. The amount of runtime code generated per endpoint is typically around 3 short lines – here's an example, also posted elsewhere on this thread: https:/
114.
▲
by
rattray
2y ago
We try to keep it to a minimum, especially in JS (though we have some nice improvements coming soon when we deprecate node-fetch in favor of built-in fetch). The package sizes aren't tiny because we include thorough types and sourcemap
115.
▲
by
rattray
2y ago
buf.build : protobuf :: stainless : REST (roughly)
116.
▲
by
rattray
2y ago
oapi-codegen looks pretty cool (it seems I starred it some time ago) but for starters, it's Go only. Stainless does a bunch of languages with more on the way. You can see an example of the Go code Stainless produces here: https:/
117.
▲
Cloudflare: Lessons from building an automated SDK pipeline
(blog.cloudflare.com)
13 points
by
rattray
2y ago
|
0 comments
118.
▲
by
rattray
2y ago
ah, yeah their instagram integration is often pretty rough.
119.
▲
Mux announces new JavaScript SDK for video
(mux.com)
9 points
by
rattray
2y ago
|
0 comments
120.
▲
by
rattray
3y ago
I'm a pretty avid Texts user, and I both agree and don't… as much as I ~regularly run into hiccups of some kind, I feel they're pretty inevitable with this sort of thing, and the parts of Texts that _could_ be stable definite
More ›