News for hackers. Stuff that matters.
Re:21 Makes Bitcoin Useful to Developers by kordless on Tuesday May 03, 2016 @11:45PM (#11626022)
I've been talking about hooking cryptocurrencies up to APIs for a few years now. Today's startup business models are coarse to the point of being stupid. Worse, mistakes in the model cause user suffering later when pricing has to be implemented to take the company profitable.

Pay attention to these types of offerings that hook revenue up directly to code. They are the future of software development and "self hosting" of applications. I also think they will have far reaching implications on the more traditional VC startup models.

Re:21 Makes Bitcoin Useful to Developers by onion2k on Wednesday May 04, 2016 @02:37AM (#11626623)
Pay attention to these types of offerings that hook revenue up directly to code. They are the future of software development and "self hosting" of applications.

The problem with any "per query" cost is that it's inherently scary due to it's unpredictability - founders end up worrying about covering costs if they grow faster than they can build revenue. Using a service that charges a fixed, predictable amount is more attractive because you can sign up and just forget about it (to an extent).

Re:21 Makes Bitcoin Useful to Developers by clemensley on Wednesday May 04, 2016 @04:12AM (#11626925)
Well that depends. If you are operating under the same business model it's not scary at all. Say you need 3 calls to external apis to produce one api reply that you can sell. You just have to make sure that the total cost for the 3 calls is lower than what you earn when you sell a reply.

There could be another company that is in the business of risk management. It could sell unlimited or quotad amounts of api calls for a fixed price. There is no reason for these two to be the same company.

Re:21 Makes Bitcoin Useful to Developers by danielrhodes on Wednesday May 04, 2016 @07:14AM (#11627534)
> If you are operating under the same business model it's not scary at all.

Total hogwash! It's super scary. Variable costs are something you keep to an absolute minimum in a business. A fixed price API (at least for a certain number of calls) is attractive precisely because it is not taking a chunk off your top line.

You want fixed costs to be low as well, but at least your revenue can grow independently so marginal costs decrease with each additional dollar you earn.

> It could sell unlimited or quotad amounts of api calls for a fixed price.

If you are an API provider, it is a great deal to offer fixed pricing. First, you have a more predictable line of revenue. Second, if you are a small player, you are not as exposed to fluctuations in demand. For the latter case, that means you don't need a lot of cash on hand to even out cash flow issues.

> There is no reason for these two to be the same company.

This is a classic middleman business. As the API provider, you need to make sure this does not happen, unless you are having serious sales problems. You'll just get the squeeze as the middleman eats your margin.

Re:21 Makes Bitcoin Useful to Developers by kordless on Wednesday May 04, 2016 @04:15PM (#11631381)
Variable costs are scary, but they are scary because they may change at a future date, not because they are variable. With a cryptocurrency backed API call, you can enter into contracts over variable periods of time to lock in price. This will give consumers of the API calls a way to predict costs moving forward. It essentially builds a futures market framework as well, and that's pretty well known to us by now. We can manage it with existing toolsets.
Re:21 Makes Bitcoin Useful to Developers by danielrhodes on Thursday May 05, 2016 @07:29AM (#11635185)
> Variable costs are scary, but they are scary because they may change at a future date, not because they are variable.

Pretty sure you are thinking of variable pricing. Variable costs are different. From Wikipedia: "Variable costs are costs that change in proportion to the good or service that a business produces." https://en.wikipedia.org/wiki/Variable_cost

Re:21 Makes Bitcoin Useful to Developers by doctorcroc on Wednesday May 04, 2016 @01:27AM (#11626405)
Do you think this business model has to necessarily use bitcoin as the vehicle?
Re:21 Makes Bitcoin Useful to Developers by kolinko on Wednesday May 04, 2016 @04:43AM (#11627047)
It's much more difficult - if not impossible - with credit cards. With CCs you need to trust the receiver to not steal your cc details, and you have a chargeback risk.

Say you created an API that takes users' data and stores it on S3. Some random user then comes, pays you $10k to store his data, but a week later does a chargeback. You're left to pay the costs to AWS.

Finally, with CCs you need to strike deals with payment processors like Braintree. If you're a private developer it will be impossible. But even as a company - payment processors are not ready to process payments via command line. They will ask you where your terms of service are, what's your website, what's your refund policy and so on.

Re:21 Makes Bitcoin Useful to Developers by krrrh on Wednesday May 04, 2016 @07:07AM (#11627500)
The corollary is that you consume an API that charges you Bitcoin. You don't notice right away, but something goes wrong, and API returns bad or null data for thousands of requests, meanwhile you are still micropaying Bitcoin. You ask for a refund, but the company running the API doesn't respond to your emails.

The threat of chargebacks disciplines the market to provide reasonable customer service.

Re:21 Makes Bitcoin Useful to Developers by kordless on Wednesday May 04, 2016 @04:17PM (#11631402)
This is why we'll be using ACs to pay for things. Load up an autonomous corporation with $5, make its job paying for API calls. If something goes South, it's last job is to pay an alert mechanism that triggers a human response.

These models turn existing models on their heads, so be aware of other pitfalls. Productive paranoia is good, but only practice it after you innovate first.

Re:21 Makes Bitcoin Useful to Developers by domsch on Wednesday May 04, 2016 @03:51AM (#11626859)
The short answer is: No. I don't see how Bitcoin fits into IoT. We are working on the exact same usecase at IOTA (http://iotatoken.com), only our solution is scalable, lightweight and most importantly: there are no transaction fees.
Re:21 Makes Bitcoin Useful to Developers by kordless on Wednesday May 04, 2016 @04:22PM (#11631428)
If you have some reference code for IOTA, I'd like to see it. I'm firmly against any type of closed source Infrastructure code, so I'm hoping that's the plan here. I would also mention that we're not QUITE there yet with this stuff, so over engineering solutions to be scalable to trillions of devices is probably overkill. Giving a simple IOT device a small wallet to pay for its infrequent API calls is probably doable with Bitcoin, even with transaction costs. For other use cases, I can envision proxy devices with keys that represent the smaller, low power, frequent transmissions.
Re:21 Makes Bitcoin Useful to Developers by kordless on Wednesday May 04, 2016 @04:13PM (#11631355)
Any cryptocurrency will do, but it obviously requires the customer be wired up to send you the transactions. I have several models kicking around in my head for when we're going to need it. You may want to check out Bitcoin's microtransaction support. As you mention below, Ethereum may be a good candidate for this as well, given it can auto post transactions at a certain date.
Re:21 Makes Bitcoin Useful to Developers by paavokoya on Wednesday May 04, 2016 @01:30AM (#11626417)
What else would it use? USD doesn't have it's own online transaction rails. You need a 3rd party to do that. Which requires a boatload of arbitrary fees.
Re:21 Makes Bitcoin Useful to Developers by doctorcroc on Wednesday May 04, 2016 @01:41AM (#11626465)
Not sure -- I was asking in earnest (although competing cc's like ethereum come to mind). Just wondering if there is not a way to hook up payments to APIs using existing infrastructure and currencies.