5 ms·
Show HN: isEven API – tell if a number is even SaaS
- tannercollin 7y agoI got tired of seeing programmers struggle to tell if a given number is even, so I built this solution. You can see an example here: https://github.com/BraydonKains/is-even/blob/master/python.md#iseven-api https://github.com/BraydonKains/is-even/blob/master/python.m... I'll be around for questions!
- panchicore3 7y agoThey were being fired for not knowing it so your contribution to society is legit.
- planetzero 7y agoI will be looking forward to your next project: isBool
- LukeBMM 7y agoI think you need a dashboard with animated graphs (preferably in bright colors on a dark background with thin text that has just enough color contrast to indicate that there's text there at all) to help track KPIs. With push notifications if even/odd distributions veer outside of a user-defined threshold, which is cunningly defined as an index value with a more impressive sounding name and handy three letter abbreviation. That should really help distinguish yourself in this hotly contested market space.
- tannercollin 7y agoExcellent idea, this will be our first milestone after we raise our seed round!
- gitgud 7y agoIt's scary how convincing this is, kind of like an SNL skit which is too real...
- throw03172019 7y agoJoke or not. This will look great on a resume. :)
- ecaron 7y agoThis would be much easier to adopt if there was an NPM package or Rubygem to simplify our company's integration with their platform.
- enos_feedler 7y agoproductization of everything
- ultrarunner 7y agoIt appears that the API is unversioned, which concerns me as my company is very future-looking and will need to support numbers as they modernize. How will you handle version migrations?
- nivertech 7y agoI'd rather pay with with utility isEvenCoins, rather than with USD. Also, our entire stack is GraphQL-based, so we must have a GraphQL API according to this schema: schema { query: Query mutation: Mutation subscription: Subscription } type Query { balance: Int! isEven(input: isEvenInput!): isEvenPayload! } type Mutation { depositCoins(amount: Int!): DepositPayload! withdrawCoins(amount: Int!): WithdrawPayload! } type Subscription { coinsDeposited: Int! coinsWithdrawn: Int! coinsSpent: Int! } input isEvenInput { number: Int! gas: Int! } type isEvenPayload { result: bool balanceLeft: Int! isError: bool! errMsg: String } type DepositPayload { newBalance: Int! isError: bool! errMsg: String } type WithdrawPayload { newBalance: Int! isError: bool! errMsg: String }
- tannercollin 7y agoBeautiful! We'll begin work on this as soon as we finish planetzero's idea, the isBool API.
- jitendrakkkk 7y agoI am fine as long as the ads in api response are not personalized.
- Dicey84 7y agoThis is much more practical than learning maths. Hopefully, it has support for imperial numbers one day