Live data from Hacker News

Git 1.7.7 changes affecting the everyday developer

johnkary.net

11–20 of 48 posts

Re: Git 1.7.7 changes affecting the everyday developer

#11
post #6
post #5

Hacker News has been an education for me about how many people don't realize that WordPress will destroy their server without caching.

On that subject, anyone know of good blogging software written in python?

Though not written in Python, I'm a fan of Jekyll (https://github.com/mojombo/jekyll). You write your entries in Markdown, it converts them to HTML, sets up links and embedded content, and then publishes them to your server via Git to be served up by Apache, Nginx, etc.

Re: Git 1.7.7 changes affecting the everyday developer

#12
post #6
post #5

Hacker News has been an education for me about how many people don't realize that WordPress will destroy their server without caching.

On that subject, anyone know of good blogging software written in python?

http://mezzanine.jupo.org

Re: Git 1.7.7 changes affecting the everyday developer

#13
post #6

Earlier quoted context omitted.

On that subject, anyone know of good blogging software written in python?

Though not written in Python, I'm a fan of Jekyll ( https://github.com/mojombo/jekyll ). You write your entries in Markdown, it converts them to HTML, sets up links and embedded content, and then publishes them to your server via Git to be served up by Apache, Nginx, etc.

The Python equivalent is, of course, Hyde (http://hyde.github.com).

Re: Git 1.7.7 changes affecting the everyday developer

#14
post #3
post #2

Seems to be down: http://webcache.googleusercontent.com/search?q=cache:johnkar...

Sorry! Trying to get the server back to normal and responsive. Give me a few minutes. :)

> Adding cache plugins, back up in a sec :)

The next thing Google will cache is your maintenance message.

You should serve those messages with HTTP 503, not HTTP 200.

Re: Git 1.7.7 changes affecting the everyday developer

#15

Earlier quoted context omitted.

You may get away with having some forms of caching. Using python won't help given you have no caching.

I haven't seen any blogging platforms written in Python that requires hundreds of queries to render a homepage like Wordpress does in PHP. If your site is running on a single modest server, needs 190 queries to render a page, has zero caching, and gets a spike in traffic then it will go down like a sack of bricks. That same scenario with <10 queries is a completely different story.

I guess, I am just not using enough of wordpress.

Re: Git 1.7.7 changes affecting the everyday developer

#16
post #6
post #5

Hacker News has been an education for me about how many people don't realize that WordPress will destroy their server without caching.

On that subject, anyone know of good blogging software written in python?

http://cloudhead.io/toto (Ruby)

http://github.com/may/yabe (Scheme. Barely started.)

Re: Git 1.7.7 changes affecting the everyday developer

#19
These changes are both awesome. Particularly the one to submodule update. I have a project setup where not everyone has access to all its submodules. Prior to this, people would have to manually run update for each submodule they were allowed to access. Otherwise it would fail part way through on the ones they didn't have access to. Great news!

Re: Git 1.7.7 changes affecting the everyday developer

#20
post #6

Earlier quoted context omitted.

On that subject, anyone know of good blogging software written in python?

If your site is only a blog, then you really should only be using Jekyll or Hyde to generate it. Having a backend is pretty overkill.

I really like the simplicity of this approach. It reminds me of late 90s, when I used Makefiles to compile complex web pages from a set of templates.

But it seems like static site generators became a fad recently, like Rails a few years ago, and this makes me slightly skeptical. It's always suspicious when somebody claims there is only one right way to do something. When it comes to me, feel free to have a backend for your blog. This certainly has some advantages, just don't forget about performance.

Or just use a hosted service. TMTOWTDI.

Post reply on HN