Live data from Hacker News

Introducing Ghost 2.0

blog.ghost.org

1–10 of 111 posts

Re: Introducing Ghost 2.0

#2
I was a pretty early beta on the editor, and I'm happy to see the production version turn out as good as it did.

Cards is a smart way to re-phrase the rich content without dipping into the "site builder" mould.

Nice work.

Re: Introducing Ghost 2.0

#3
Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more diverse set of use-cases.

Some fun technical details from this release:

- New features require building a routing map for all possible URLs on boot, which is a dramatically heavy operation. We were eventually forced to forgo our traditional ORM layer entirely to get any degree of performance (insert: shock/awe)

- Related: It turns out SQLite3 has a query limit of 999 SQL variables, so we had to implement a recursive query strategy for SQLite only. Wild. Default is MySQL though, which was fine.

- Conquered a pretty spectacular memory leak when running in development as a result of trace-logging promises in Bluebird, which is “a full featured promise library with unmatched performance” — …unless you implicitly enable debug traces

Also: Let me be the first to say that I can’t believe there’s still no Postgres support, which is absolutely outrageous.

On a serious note, thanks for all the support and there are several of us hanging out in the comments if anyone has technical questions which they’re curious about.

Re: Introducing Ghost 2.0

#5

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

> New features require building a routing map for all possible URLs on boot, which is a dramatically heavy operation. We were eventually forced to forgo our traditional ORM layer entirely to get any degree of performance (insert: shock/awe) - Related: It turns out SQLite3 has a query limit of 999 SQL variables, so we had to implement a recursive query strategy for SQLite only. Wild.

Out of pure technical curiosity, how did this come to be the chosen approach? A query with 999 variables strikes me as a serious code smell, but at the same time I don't doubt you guys seriously considered the alternatives before choosing this route.

Re: Introducing Ghost 2.0

#6

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

"Also: Let me be the first to say that I can’t believe there’s still no Postgres support, which is absolutely outrageous."

Postgres is open source.

Why do they owe you?

If it matters, write the code.

Re: Introducing Ghost 2.0

#7

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

"Also: Let me be the first to say that I can’t believe there’s still no Postgres support, which is absolutely outrageous." Postgres is open source. Why do they owe you? If it matters, write the code.

That's not how he meant it, because it makes no sense.

He meant that he still hasn't taken the time to get some people in his team to support Postgres officially, I guess.

Re: Introducing Ghost 2.0

#8

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

> New features require building a routing map for all possible URLs on boot, which is a dramatically heavy operation. We were eventually forced to forgo our traditional ORM layer entirely to get any degree of performance (insert: shock/awe) - Related: It turns out SQLite3 has a query limit of 999 SQL variables, so we had to implement a recursive query strategy for SQLite only. Wild. Out of pure technical curiosity, h…

We're loading all public-facing resources - so posts, tags, authors and importantly the relations between them - in as few queries as possible, using fairly typical where...in queries in order to build the relations. SQLite uses variables for in queries, and so sites with a lot of content triggered the "more than 999 variables" error.

Solvable, of course, but quite an interesting limitation to discover!

Re: Introducing Ghost 2.0

#9

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

From the Title to this post- no clue what this is? Is Ghost that hdd copy program from a while back?

1st paragraph of this post- still no idea what this thing is. Presuming it's the drive copy program.

The rest of this post, still not clear. Probably not the copy program.

Blog post: ".. a great open source publishing platform .." -- ok, it's like Wordpress. Gotcha.

Re: Introducing Ghost 2.0

#10

Heyo, John from Ghost here. Thanks for the kind words so far about 2.0 — it’s been a hectic few months! Earlier this year I talked about how we were shifting focus from simplicity to power - https://blog.ghost.org/5/ - and this is the first big release since that move. Whereas early versions were extremely opinionated and rigid, we’re now starting to bake in more flexibility and configurability to allow for a more di…

From the Title to this post- no clue what this is? Is Ghost that hdd copy program from a while back? 1st paragraph of this post- still no idea what this thing is. Presuming it's the drive copy program. The rest of this post, still not clear. Probably not the copy program. Blog post: ".. a great open source publishing platform .." -- ok, it's like Wordpress. Gotcha.

You're complaining that you can't tell what this HN submission is about from the top-voted comment alone, and you actually have to read the submission?

I've seen people complain about the submission for a product announcement being unclear before, but hearing that complaint leveled at the comments is a new one.

Post reply on HN