Hacker News new | past | comments | ask | show | jobs | submit | rlevy's comments login

In the section on open source models, this is missing the important distinction of which ones have licenses prohibiting commercial use.


What’s the third book?


"How to deal with off-by-one errors"


reminds me of julia (the language): wanted to give it a try recently, until I read in their documentation: "In Julia, indexing of arrays, strings, etc. is 1-based not 0-based"… which made me wonder for a moment how many off-by-one errors may be caused by mismatches between different programming languages.


Look again, two different books are referred on one line, then a third lower down.


All of them in the comment. I forgot to do double-newlines, so the formatting is broken, and I can't edit the post any more.


That implies a good old fashioned one-time purchase


Aren't these illegal now? Or at least, frowned upon.


I don't frown upon it! I mostly don't even try subscription apps.

Edit: unless they are crazy well-priced, like this dictionary app https://apps.apple.com/us/app/dict-cc-dictionary/id327732352 (1 euro per year!)


That was definitely a joke


...what?


I imagine this is a joke based on basically how everything is now a subscription fee instead of a one-time payment.

Fantastical comes to mind first. Used to be like 5€ on the App Store, now it's 3.67€/month.


Yes


I would good money to have something like this in a PowerPoint extension.


Thanks for the feedback. It's on the roadmap, but it'll take some time until we get there.


This is slick! Anything similar for languages beyond Python?


The library should work with a few other languages like Java, JavaScript, and C++. If you want to add another one, take a look at comment_parser.py as it is pretty simple.


Agreed. I was surprised by how much my 6 year old became engaged in the story. He frequently asks to play/solve more so he can find out what happens next in the story.


This is neat but there’s a big gap between natural language search and conversation.


RAML is essentially a YAML with a specific schema. Tell your IDE to treat .raml files as .yaml and all the syntax highlighting, etc will work perfect


Ah, that makes a lot more sense then.

It appeared to have weirdness from the homepage:

  - secured: !include http://remote-host/secured.yml
/songs:

Which is invalid YAML.

It turns out this is probably an unfortunate word-wrap in the page, where a non-wrapping text field would better convey the format.


Swagger seems to have more awareness and adoption but we have fully embraced RAML due to its "composability" features which eliminate much of the boilerplate and copy/paste/tweak required by Swagger. Making the API spec easier to author & maintain is well worth the downsides of not being able to tap into the Swagger ecosystem. If we really needed something from the Swagger ecosystem, I don't think it would be difficult to create a RAML->Swagger converter. There is already a converter that goes the other direction.

But whichever one you choose, this stuff is awesome. We author API specs and then codegen mock services, client side wrappers (Angular services or Backbone models/collections), server side DTOs and controllers, and pretty documentation. Having that all done from a single authoritative text file under source control has drastically reduced the friction between frontend and backend developers.


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

Search: