Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/discworld icon
r/discworld icon
Go to discworld
r/discworld
A banner for the subreddit

A sub dedicated to the works of Terry Pratchett, including (but not limited to) the hugely popular Discworld series of books.


Members Online
[deleted]
MOD

GNU Terry Pratchett

GNU Terry Pratchett
Sorry, this post has been removed by the moderators of r/discworld.
Share
Sort by:
Best
Open comment sort options
Edited

For anyone that either controls their own apache webserver or has access to the apache .htaccess file for their site

<IfModule headers_module>
    header set X-Clacks-Overhead "GNU Terry Pratchett"
</IfModule>

If you have permission to add HTTP headers, that will add it. If adding headers isn't enabled at all, the "if" statement should mean you don't get an error, it'll just not work. If it's enabled but you don't have permission to configure in your .htaccess file, you might get an error. This can be added to either the server config or .htaccess - there can be a performance penalty for having .htaccess enabled so try not to use it if you can.

It'll show up like this in the header

There is a Chrome browser extension and a Firefox add-on which notify you when you're on a webpage sending the header (screenshot of chrome version)

EDIT: Thanks to all of the people who have replied with instructions for other web servers, web apps, web proxies, frameworks, and mailservers(!):

Step-by-step walkthrough on Ubuntu for the above Apache change
nginx
lighttpd
IIS (IIS app)
Litespeed
Cherokee
Node.js
Ruby/Rack gem
Clojure/Ring
Flask
Meteor (external link)
Django
Varnish
HAProxy
Apache Trafficserver plugin
Java servlet code
What looks like a Java app
PHP one-liner
Wordpress plugin / Manual wordpress customization (though the plugin is probably more maintainable)
Drupal
Joomla (external link)
Discourse
Pure HTML if you really can't get access to server config
Postfix
Sendmail
Exim
Exchange
Apple mail
Invisible gmail signature (same comment as postfix)
Thunderbird
Claws-Mail, Sylpheed, Mutt, and emacs
Asterisk and FreeSWITCH

Thanks also to u/pocketknifeMT for posting this to bestof and vastly increasing the visibility of the post, as well as writing a very nice succinct explanation of the concept

Also: The owner of the UK ISP Andrews & Arnold is now using "GNU TerryPratchett" as padding in ping packets in their latest router firmware alpha
Search for webservers with the header

[deleted]
Edited

Awesome idea. I have a server. Anyone who wants, I'll set you up a tiny web space on my server to put up a small page, and we can totally do this. Anyone interested just let me know.

I'll be away for a while so it'll be tomorrow before I can start setting things up.

EDIT: Anyone who wants a subdomain on discworld.us, let me know. Also, I have set up my server so ALL sites on my server return the header. <3

EDIT: For anyone I set up a subdomain for, I'll PM you login details. For FTP/SSH/SFTP, use the domain name + username + password for access. To access cPanel, go to your subdomain and add ":2082" - e.g daychilde.discworld.us:2082 and again use the user/pass.

[deleted]

This has gone onto my servers

[deleted]
more replies More replies
More replies
More replies

You just created a tiny bit of Internet folklore that will live on for many years, good sir.


If you have a php website but can't edit the server config files, this'll work too:

header("X-Clacks-Overhead: GNU Terry Pratchett");

Imagine 300 years from now, some AI sees this floating in the Æ-ther, looks up the reference, reads all Pratchett in half a milisecond, re-reads it, then resurrects a synthesis of The Man in The Hat to find out what happens next in the stories.

We can but hope.

More replies
More replies

Fantastic idea- I've added this to my server!

If anyone's an Ubuntu noob like me, here's step by step instructions for doing this via your virtual hosts config:

  1. Activate the headers module for apache

    sudo a2enmod headers

  2. Update your virtual hosts config in /etc/apache2/sites-available/[your-site-conf-file], for me it looked like this:

    <Directory /> Options Indexes FollowSymLinks AllowOverride All Require all granted

             <IfModule headers_module>
                     header set X-Clacks-Overhead "GNU Terry Pratchett"
             </IfModule>
    
     </Directory>
  3. Save the conf and restart apache

    sudo service apache2 restart

You can then test it by using this command:

curl -I your-domain.com
More replies
Edited

And if you run nginx, it's just

add_header X-Clacks-Overhead "GNU Terry Pratchett";

in the server or location block of your nginx.conf.

Edit: Apparently also works in the http block, thanks u/Belphemur and u/beforan.

More replies
Edited

I saw someone else suggest X-GNU: Terry Pratchett and some ideas about what to do when you receive a request with the header.

I think HTTP discourages by convention using the same name for request and response headers. Here's the questions I have for the protocol, and my suggestions.

  1. What header do clients send in a request? (X-GNU: Terry Pratchett)

  2. What is the server response header? (X-Clacks-Overhead: GNU Terry Pratchett)

  3. What does the server do with the client header? (Repeat the G code and name the client provided. Care must be taken to not emit invalid characters. i.e. RFC5987)

edit: u/sillybear25 points out that the X- prefix is deprecated.

edit2: On further thought, how about just Clacks: GNU Terry Pratchett in either request or response and requests also have Accept-Clacks: Plain if the client processes the message. Say by repeating any GxU clacks.

This feels like a great 1st April RFC. What do you think? We've got 2 weeks...

More replies
More replies
Edited

For IIS / web.config would that be customHeaders:

<customHeaders>

<add name="X-Clacks-Overhead" value="GNU Terry Pratchett" />

</customHeaders>

?

I wont have access to my servers for a few days.

* see Rotas_dw's note.

More replies

r/GNUTerryPratchett

I wrote a Chrome browser extension to show a small icon in the address bar when an http response is received with an "X-Clacks-Overhead" header. Clicking on the icon displays the contents of the header.

I had a go at uploading it to the Chrome Web Store but gave up after half an hour of trying to satisfy all of their annoying icon and screenshot requirements. If there is any interest I can jump through the hoops another day, otherwise you can find it here on github: https://github.com/newfolder0/chrome-clacks - download it > open the Chrome extensions manager > tick 'Developer mode' > Load unpacked extension... > choose the 'src' directory.

More replies

If you're running lighttpd:

server.modules += ( "mod_setenv" )
setenv.add-response-header = ( "X-Clacks-Overhead" => "GNU Terry Pratchett" )

GNU Terry Pratchett.

More replies
[deleted]

For those of you who use Ruby/Rack apps (Rails, sinatra, etc) I made a gem. Source/instructions on Github

That's beautiful.

The GNU is all over Tumblr, too.

GNU Terry Pratchett.

GNU Terry Pratchett

If you want to see how to put it into reddit comments, look in the 'source' of my post.

More replies
More replies
More replies

I thought I had run out of tears, but I guess I was wrong.

GNU Terry Pratchett

More replies
[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

I thought that I was cried out. But apparently not.

More replies
More replies

or...

we post it everywhere.

It goes in the reddit overhead, not every single comment in every single thread but often enough so that one day all of reddit has seen at least one...

GNU Terry Pratchett

we post it everywhere.

Maybe it'll get as far as Ankh-Morpork.

Maybe it'll get much further than that.

More replies

It could be embedded in this subreddits images or CSS perhaps?

[deleted]

I'll get it done tomorrow. I was about to head to bed when the news broke, and I'm hanging around to make sure no trolls get through, so I'm a bit punchy at the moment.

So basically - brilliant idea, thank you. <3

Already on the sidebar as a link to this thread, for a start :)

More replies
More replies

Manually use it as a sig, much like "carthago delenda est". Whatever your comment, just sign off with it.

GNU Terry Pratchett

More replies
Edited

Here is the code for the text insertion that will put it in to your comments but make it invisible to normal reading:

^^^^^^^^^^^^^^^^GNU ^^^^^^^^^^^^^^^^Terry ^^^^^^^^^^^^^^^^Pratchett

Or

^^^^^^^^^^^^^^^^GNU&nbsp;Terry&nbsp;Pratchett

Or

[](/GNU Terry Pratchett)

GNU Terry Pratchett

More replies
More replies

GNU Terry Pratchett

More replies

GNU Terry Pratchett

GNU Terry Pratchett. The thread over at r/britishproblems is touching.

GNU Terry Pratchett

More replies

GNU Terry Pratchett

[deleted]

Comment deleted by user

GNU Terry Pratchett

More replies

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

[deleted]

Could we spread this to Twitter to get more people involved? GNU terry Pratchett

[deleted]

I'd love that, and I know most of us would.

Shortlink from the sidebar: http://redd.it/2yt9j6 :)

More replies

I can't think of anything more beautifully fitting than this

GNU Terry Pratchett

GNU Terry Pratchett. There are no more words...

GNU Terry Pratchett

GNU Terry Pratchett

GNU terry pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett.

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

More replies

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

Extremely hard news. GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU, pterry.

[deleted]

Comment deleted by user

GNU Terry Pratchett

This is a fantastic idea. I was wondering today about what the best way to commemorate Sir Terry was, but you've nailed it here. Well done, daychilde.

GNU Terry Pratchett.

[deleted]

On the contrary, it was u/Gonad-Brained-Gimp who posted it in another thread, but I did think it was deserving of its own thread. :)

Link in the text goes here: http://www.reddit.com/r/discworld/comments/2ysv26/sir_terry_has_gone_for_the_long_walk_across_the/cpcmru1

Ah, my mistake. Thank you!

Bravo, u/Gonad-Brained-Gimp.

We're all clacksmen and clacksladies, together in sorrow, today.

More replies
More replies
More replies

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

Waily waily.

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

Anyone going to wear the lilac?

More replies

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

You will live on in the Overhead of Roundworld forever.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchet.

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

I'm trying to decide which book to re-read first, because these tears need laughter to mingle with them.

GNU Terry Pratchett

More replies

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

Welcome to the original GNU Terry Pratchett thread. Since reddit allowed posting in old threads again, this is now the official thread.

Alas, I created it as u/daychilde, which I deleted a few years ago. :( So I can't edit the post anymore… but I can make this comment stickied and edit it as needed.

If you're unfamiliar with what "GNU" means and why it's precious to the Discworld community, here's a link to a thread that helps explain: on the reddit redesign or classic "old" reddit

Feel free to post in this thread as often as you like to help keep his name alive. Keep it simple, "GNU Terry Pratchett", or feel free to post your thoughts about Sir Terry and Discworld and what he and it means to you.

You can find some of the other relevant posts here.

GNU Terry Pratchett

More replies

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Sir Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett. Don't fall asleep on those dark sands under the endless night.

GNU Sir Terry Pratchett.

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Sir Terry

GNU Terry Pratchett

GNU Terry Pratchett

Made a website for easier linking. GNU Terry Pratchett

More replies

Let's all have a glass of whiskey and one last roaring toast to be heard across the multiverse. I drink to thee, Sir pratchett!

Noli timere Messorem!

Cake icon

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett
GNU Terry Pratchett
GNU Terry Pratchett
That's it - I'm reading Going Postal tonight.

GNU Terry Pratchett

GNU Terry Pratchett. I never did get to meet you, so now there's a few things I'm not ever gonna cross off the bucket list.

GNU Terry Pratchett

So I knocked one ^ off and it kind of just looks like a line... we should use it as line breaks in big posts, maybe?

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett. Rest easy, sir.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

[deleted]

GNU Terry Pratchett.

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett.

[deleted]

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett.

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett

GNU Terry Pratchett