So I've been tinkering with another project.

In going to school for programming for a number of years, it was always a big pain in the ass to show people code examples. Email seemed heavy handed, and IM never quite seemed to be the right format (computer code generally has more viewing window size restrictions than English). Neither were that quick or convenient, and both introduced problems in how one had to copy and paste code segments into email and/or IM conversations.

Having the need to do more code snippet passing, I've put together something to address this: http://idkfa.com/paste/index.php

It's a simple function: it stores up to 10,000 characters in a file. Whenever you hit "paste," it overwrites that file. However, if that file has been updated since you last accessed the page, it'll let you know that there's been a change/conflict, and show you the differences between the existing page and the page you're trying to paste.

It's got kinks, and isn't super elegant, but it's something useful if you're just wanting to quickly pass some text and you want that text to remain unmolested by its fonts, bounding boxes, email clients, or transfer protocols.

(A site exists at http://pastie.org/ (pastie.org) that does about the same thing. However, it works the same way that imgur or other image hosting services in that you're given your own URL to deal with as you see fit. My "paste" application is not that sophisticated. It's one paste, one user at a time.)

#1480, posted at 2010-12-19 22:22:16 in Indiscernible from Magic