Hacker Newsnew | past | comments | ask | show | jobs | submit | more catnip09's commentslogin

I prefer graphql because of this.

It's a huge pain to maintain open API files and the generators are of varying quality supporting different specs. They also handle some parts differently in the output.

Which generator have you used for typescript? There are 4 of them and all of them have different issues.

I find the axios one the most stable but keen to know.

How do you also handle refreshing token, incepting request while passing the client through configuration in these?

I find interception and changing response breaks some of the client methods without a way to handle the failure.

Any example or resources you found useful would be appreciated.


It shouldn’t be a pain to maintain OpenAPI files.

The same code you write to validate your request/response should automatically generate the OpenAPI see my comment here:

https://news.ycombinator.com/item?id=33221395


> The same code you write to validate your request/response should automatically generate the OpenAPI see my comment here

Or even better the opposite: I have a mini-framework [0] which does the validation and routing based on an OpenAPI spec, so the devs can focus on writing the business logic.

[0] https://pyapi-server.readthedocs.io


Not everyone starts out with this in mind though.

Many legacy codebase don't have an easy way to add schema and make code changes so you end up maintaining a separate file to avoid making changes in the codebase.


Not that painful when you’ve a dedicated API designer or API writer, or when the teams realize the importance of maintaining OAS files as the single source of truth of API design.

Edit: typo.


We are still early on our journey, but I'll share this post with the Stainless folks (who are further along); maybe they'll chime in.


Does the tailwind support work with className declaration?

I would like to use it with existing component library which is built using tailwind without making changes. Is that possible?


They have experimental support for taiwind: https://og-playground.vercel.app/?share=xVRNb9swDP0rgoahl6h2...

Edit: Oh I re-read your comment and you want to know if they support classnames... then my answer is not what you need :(


Interested in this too.


I was finally annoyed enough to Google how to disable this today and thought others might be too.


They tried in the past. They used to have a bunch of PAAS and SAAS services which were shut down and open sourced subsequently.


I'm not surprised the neo bank idea was shut down. The profit margins are really low and moving forward, capital is going to be expensive.

In India, most neobank startups are bleeding money through rewards and incentives funded by VCs and they are all shutting down one by one.

There is no moat. Support is expensive. They are still tied up with a traditional bank because getting bank license is not an option for startups. This is the case almost everywhere, not confined to India. You would be working with a legacy bank and inherit all the limitations.

Banking is free for most people. UPI and rupay run by government agencies result in 0% charge for merchant and consumers. So you can forget about any transaction related fees.

This might not be common across the world but there is no lock in when investing in funds in India. You cannot lock in customers for mutual funds and related investment legally anymore as of last year, I believe. So not possible to make profit on investment management side.

It's really tough for a neobank.


I agree with you around the analysis, but how do you explain the success of Ramp in the US then? Re India, will RazorPay win on the neobank side as well? As they have the critical size?


Ramp is focused on corporate finance management than a regular neobank.

They don't take individual customers or startups without funding. They are focused on high ticket corporate customers.

For Indian market, razor pay and open money would be sort of equivalent focused on corporate banking.


They rebranded to lithic from privacy last year.


They have experimental support for safari: https://docs.cypress.io/guides/guides/launching-browsers#Web...

Why not use playwright?

https://playwright.dev/


Because our tests are already written with Cypress and we don't want to change again (we just moved from Protractor after Angular said it was dying, so we've already rewritten them once).


Is playwright that much better?


It's pretty solid. Even cypress webkit is using playwright.


http://n-gate.com/software/2017/

I always chuckle at this site does not need SSL post from n-gate.

PS: Use the URL directly in browser because the site doesn't like traffic from HN.


> PS: Use the URL directly in browser because the site doesn't like traffic from HN.

Or just fix your browser settings to not send cross-domain Referer headers.


A couple hundred gbs write and read per day seem normal to me for a developer machine.

Spinning up a new VM from scratch itself will take around 10gb read and write.

If you are building containers or loading up a lot of data, can easily reach that.

I'm surprised your figures are low because I always see tens of gbs of write and read normally without doing much.


I'm doing none of that on this machine yet.

In generak, it can reach it easily on a dev machine, but it seems like the norm. And my linux experience is at 1/5th or 1/10th the amount of data read/write tha comparable tasks.

Looking at this thread, it seems this is the way with macOS.


Several YC companies are doing the same in later stage of funding such as beeple. They reverse engineer and bridge multiple platforms.

Reverse engineering is not illegal and if there is genuine demand for an alternative client, why would investors not fund it?

Eventually, you will become big enough to be next plaid and force everyone to open their APIs.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: