licentious radio

August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep

   Click here to visit the Radio UserLand website.
   Click to see the XML version of this web page.


"What kind of peace do I mean? What kind of peace do we seek? Not a Pax Americana enforced on the world by American weapons of war. Not the peace of the grave or the security of the slave. I am talking about genuine peace, the kind of peace that makes life on earth worth living, the kind that enables men and nations to grow and to hope and to build a better life for their children - not merely peace for Americans but peace for all men and women - not merely peace in our time but peace for all time." -- JFK
 
Home | Stories | Politics/Humor | Web Usability/Humor | ipaq 3800 Linux | RadioRadio | Typography | About | Contact
Web - Usability - Humor
Tuesday, August 20, 2002
[6:35:35 PM]     
Wrote a little cgi script that works as a clipboard-like text buffer on a web server. I find it useful as a way to copy/paste between computers. Only use it on an intranet -- protected from potential attacks.

text_buf.pl

Please contact me if you find bugs.

I apologize in advance if you look at the code; it wasn't meant to be pretty.

If you use Windows you could try out my clipboard microserver, which reads and writes the Windows text copy/paste buffer from a single-purpose web server. I found it very useful before I de-borged.

[12:59:06 PM]     
As an exercise, I wrote a script to insert soft hyphens (­) into html files. Only IE on Windows makes use of soft hyphens, while some browsers will display gibberish characters.

Still, if you actually want people to read your articles online -- and you want to justify text -- this points to the wave of the future.

Examples:

justified with 500 pixel column

justified, fits to browser window

unjustified, fits to browser window

If you have Windows, you could compare them in IE and Netscape or Mozilla.

(I should say that I didn't stomp out one of the bugs in my script, so it added soft hyphens before and after a few words. The hyphenation dictionary came from the Moby project.)



Copyright © 2003 Licentious Radio.
Last update: 9/20/03; 3:00:02 PM.