News for hackers. Stuff that matters.
Re:Launch HN: Optic (YC S18) – Automate Routine Programming by ilaksh on Wednesday July 18, 2018 @06:05PM (#17562453)
Where are the skills and schemas stored? Are they in the main GitHub repo somewhere or separate JSON files or what? Is it possible for me to add my own transformations?

Is there a package manager or common repository for sharing and searching Optics skills?

Re:Launch HN: Optic (YC S18) – Automate Routine Programming by addcn on Wednesday July 18, 2018 @06:09PM (#17562472)
We have a registry with a frontend coming soon.

You can also resolve them locally by putting them in your optic.yml file

You can add a skill and containing as many transformations and lenses as your want.

It’s explained at the bottom of these docs https://useoptic.com/docs/authoring/writing-skills

Re:Launch HN: Optic (YC S18) – Automate Routine Programming by ilaksh on Wednesday July 18, 2018 @06:11PM (#17562483)
Awesome thanks for the response. Looking forward to the registry. Will there be a cli for the registry?
Re:Launch HN: Optic (YC S18) – Automate Routine Programming by addcn on Wednesday July 18, 2018 @07:00PM (#17562723)
Yep it's all right there. You can use your Optic account credentials https://useoptic.com/docs/authoring/publishing

  npm install optic-markdown -g
  opticmd adduser
Re:Launch HN: Optic (YC S18) – Automate Routine Programming by ilaksh on Wednesday July 18, 2018 @07:45PM (#17562967)
Cool. For some reason that link is a 404 at the moment.
Re:Launch HN: Optic (YC S18) – Automate Routine Programming by addcn on Wednesday July 18, 2018 @09:42PM (#17563412)
Do you mind emailing me at [email protected] with the name of your town and a trace route to useoptic.com

It’s working here so not sure what could be causing this besides an issue with our CDN

Re:Launch HN: Optic (YC S18) – Automate Routine Programming by ilaksh on Wednesday July 18, 2018 @10:19PM (#17563534)
For some reason it kept coming up in Chrome with an extra / at the end of the URL.. but its working now.
Re:Launch HN: Optic (YC S18) – Automate Routine Programming by addcn on Wednesday July 18, 2018 @11:06PM (#17563685)
Got it. We’re using Gatsby and there’s a rewrite rule on our CDN. I’ll take a look tonight and see if I can fix the issue.