The Lumber Room

"Consign them to dust and damp by way of preserving them"

Posts Tagged ‘internet

“On the internet, nobody knows you’re a dog”

leave a comment »

The popular phrase, and an article about it. The image can be found easily, here for example.

Written by S

Thu, 2007-07-26 at 09:55:07

Posted in entertainment

Tagged with , ,

Online LaTeX

leave a comment »

Someone has collected a useful bunch of links: Using LaTeX in WordPress » Online LaTeX

(Pasted from somewhere, to be cleaned up –)

For typesetting mathematics, there is LaTeX, of course. But what does one do next with the LaTeX file, if you intend the document to be viewable online? Using PDF files for online viewing is frowned upon. There is simply nothing better than HTML, and so one might consider using latex2html. This, however, usually uses images for almost everything leading to huge files and slow-loading pages. Much better in this regard TtH, which tries to make the mathematics display in plain HTML by hook or by crook, but this ends up looking ugly and defeats what was probably one of the major goals in using LaTeX in the first place. One could use MathML — writing a MathML document by hand is absurdly painful, but there is TtM which can convert LaTeX to MathML. But MathML creates XML (not HTML) files, and thus doesn’t plug into general text easily; it also requires the user to have some specific fonts installed, etc., and if a browser (like IE6) fails to display it correctly, the result is a mess. I just discovered that there is ASCIIMathML, which seems to handle everything very well. LaTeX-style formulas work (one can also use their simpler language, it appears). It still needs the fonts to be installed and everything, but when it fails (if JavaScript is disabled, for example), the user will simply see the “source code” of the mathematical text, which can still be readable.

docbook? tex4ht?

tbook?

Written by S

Mon, 2007-05-21 at 19:34:26

Posted in compknow

Tagged with , , ,

Twitter

leave a comment »

Kathy Sierra

Nicholas Carr

Lauri Apple calls it “Twittarded”, and says

After using Twitter, I want to make a Website that consists of a plain white screen. The site does not allow you to do or communicate anything — all you can do is just look at it and develop an overwhelming feeling of boredom that will hopefully inspire you to get up and express yourself in the three-dimensional world.

She also links to this dull blog. That blog is incredible. The number of comments on each post even more so.

Ah, the internet

Written by S

Fri, 2007-03-30 at 20:07:39

Posted in Uncategorized

Tagged with , , ,

ssh-keygen as another user

with 4 comments

To set up an ssh-key usually, type
ssh-keygen -t rsa, hit [Enter] a few times, type
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys, and add entries from other places where you might have created a key, to the same authorized_keys.

To set it up so you can log in as another user (called, say, user2)
ssh-keygen -t rsa
Enter a different file to save (id_for_user2, say), and blank passphrase.
Now add the contents of the file id_for_user2.pub to user2‘s ~/.ssh/authorized_keys file.

Oh, and when you want to login as that user, you will have to specify that you want to use that file, like
ssh -i ~/.ssh/id_for_user2 user2@hostname. For long commands like this, it’s best to make an alias (put alias sshasuser2='ssh -i ~/.ssh/id_for_user2 user2@localhost' in your ~/.bashrc if all you want is a password-less replacement for su - user2). You can also give the id_for_user2 file to others, and they can also login as user2 without a password simply by typing the command above.

Got it from this linux.debian.user newsgroup post.

Written by S

Thu, 2005-11-17 at 13:01:00