News for hackers. Stuff that matters.
Re:Glot.io: Open Source pastebin with runnable snippets and API by mattdgroves on Friday April 22, 2016 @01:34PM (#11550870)
Can you elaborate?
Re:Glot.io: Open Source pastebin with runnable snippets and API by 47 on Friday April 22, 2016 @01:42PM (#11550938)
Probably refering to the diagram from their github page[1]

[1] https://github.com/prasmussen/glot

Pet Peeve: There is no way to post ASCII diagrams on HN

Re:Glot.io: Open Source pastebin with runnable snippets and API by eatsfoobars on Friday April 22, 2016 @01:53PM (#11551035)

      snippets.glot.io                  glot.io                     run.glot.io
    ┌──────────────────┐   http   ┌──────────────────┐   http   ┌──────────────────┐
    │  glot-snippets   │◀─────────│     glot-www     │─────────▶│     glot-run     │
    └──────────────────┘          └──────────────────┘          └──────────────────┘
              │                             │                             │
         http │                             │                        http │
              ▼                             ▼                             ▼
    ┌──────────────────┐          ┌──────────────────┐          ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─
    │     couchdb      │          │    postgresql    │                 docker      │
    └──────────────────┘          └──────────────────┘          └ ─ ─ ─ ─ ─ ─ ─ ─ ─
Almost works. I just pasted it as code.
Re:Glot.io: Open Source pastebin with runnable snippets and API by dublinben on Friday April 22, 2016 @02:15PM (#11551256)
I'd say it works quite well. That looks perfect.
Re:Glot.io: Open Source pastebin with runnable snippets and API by throwanem on Friday April 22, 2016 @01:56PM (#11551066)
Indent each line by four or more spaces.

The markup documentation is linked from the FAQ, and the FAQ is linked from the bottom of each page.

Re:Glot.io: Open Source pastebin with runnable snippets and API by alexkavon on Friday April 22, 2016 @02:54PM (#11551665)
Yes. Usually when I build an application I'd use a single database. While I don't think in the end it would matter for PostgreSQL or CouchDB, two databases is a bit much. Just curious as why they use two databases that can accomplish the same task (from what I can tell from my limited digging into the project).
Re:Glot.io: Open Source pastebin with runnable snippets and API by baldfat on Friday April 22, 2016 @01:53PM (#11551038)
People not using a relational DB drives me nuts when it clearly is the right tool for the job. Possibly that is his issue. Something that is a perfect match for a relational DB and instead use a "NON-SQL" DB for a project.