...making Linux just a little more fun! |
|
The mirrors took a bandwidth hit this month as the files were moving around, but the files have all settled down now. There will be another big shuffle sometime when we convert the 649 old GIFs to PNG/JPG, but that's such a big job I don't know when we'll be able to do it. Not just to convert the files -- that can take five minutes with ImageMagick's convert program, find and a small shell script -- but we also have to (1) decide whether image.png or image.jpg is smaller/looks better for each image, (2) change the IMG links in all the HTML files, (3) not use transparency, and (4) look at all the pages on various browsers. Any volunteers?
For next month, I want to refine the navigation links between articles and between the global pages.
There is one change which will affect only a couple mirror administrators. Next to the existing search links, there is a commented link the mirror site can replace with a link to their own search engine. The comment format has changed, and I noticed one misspelling in it ("ENDN" instead of "END"). So mirror administrators with local LG search engines will have to adjust their scripts. There may be further adjustment when the navigation links get refined.
--- key: arndt author: arndt title: Office Linux -- Feedback --- key: bradley author: bradley title: Adding Plugin Capabilities To Your Code"key" is a unique (within the issue) identifier for the article. "author" is a link to their Author entry, which is a file in rfc822 (mail message) format. (I could use YAML for it, but rfc822 is really convenient for this particular object.) "title" is, um, I think you can guess what that is....
The article header/footer, TOC, Front Page, Site Map, etc, are generated from Cheetah templates. Cheetah is a free software project I've been a developer on for the past 1 1/2 years. It's a string template system for Python. Cheetah has been generating the LG Mirrors page for several months.
There's a shared "lg" module that reads all the configuration files into a data structure and pickles it out to a cache file for fast reading. (Or actually cPickles it, which is a thousand times faster.) Then the script "article" takes the article entry and author(s) entry and puts the header/footer in the HTML file in place, deleting the previous header/footer if present. The "authors" script is more complicated because it has to make each Author's page as well as the author index, TAG bios index, and previous/next links for each. It also searches through the articles data to generate the links to all the articles published by each author.
I'm close to having TWDT automated, which I'm very happy about. No more manually creating that d*%n thing manually and then having to edit three files (the original, TWDT.html and TWDT.txt.gz) when an article needs a correction. Soon I'll be able to change just the original and then run twdt and have it automatically regenerate those two files. Well, almost. Heather generates the TAG column lg_answer and TWDT.lg_answer.html simultaneously from her mailbox files, and she tells me 'twould be difficult to generate TWDT.lg_answer.html from lg_answer. So for TAG corrections I'll still have to edit three files.
You step in the stream,
But the water has moved on.
Your penpal is gone.
Error messages
Unfold across the monitor.
Glist'ning like the snow.
From From: Mike Orr
I'm writing a script for school and I'm having a bit of trouble. The problem is as follows: it must accept a from a user and display the squares of all the numbers starting from 1 to that number, as follows: 1 square = ___ 2 square =___
n square = ___
[Iron] Did you have a Linux question? If so, you forgot to include it.
You didn't mention which programming language you're using, but it doesn't matter. We're unlikely to answer questions that can be discovered by simply reading a tutorial for that programming language.
See http://www.linuxgazette.net/tag/ask-the-gang.html for the kinds of questions we're willing to answer.
See now... I answered a sendmail question! Smile
That tells you I do lurk, until I see a message I can answer!
From: Iron
Aww, somebody's trying to crack my Webware site. Sorry I don't have any files for you, buddy.HTTP404: /favicon.ico HTTP404: /_vti_bin/owssvr.dll?UL=1&ACT=4&BUILD=2614&STRMVER=4&;CAPREQ=0 HTTP404: /MSOffice/cltreq.asp?UL=1&ACT=4&BUILD=2614&STRMVER=4&;CAPREQ=0
From From: "Benjamin A. Okopnik" <[email protected]>
On Tue, Jun 11, 2002 at 05:14:29PM +0200, denis k?llner wrote:
Hi i've download your software (lcdproc) and buyed me a display,
[Iron] I'm not sure who the "you" in "your software" would be, unless one of the Answer Gang wrote "lcdproc"...
i've connect the display to my LPT-Port how it is in your picture, but it doesn't work!!
Oh, of course we instantly recognize the exact problem! Thank you for such a precise description.
what is a Linux kernels?
[Neil Youngman] That's the tasty bit inside the Linux shell.what function do they perform?
If you crack a Linux shell you can eat the kernel. Also you can grow new Linux trees from it.how important are they?
They are very important if you're stuck on a desert island and they are your only source of food.P.S. We don't do your homework for you.
I learned that stuff in school; with a lot of Russians of the previous generation (mine was already too cynical), it was an article of faith.
LATIN CAPITAL LETTER O WITH STROKE LATIN SMALL LETTER O WITH STROKEThese symbols are familiar to us Scandihoovians, and are used to signify "This word cannot be pronounced by Americans."
CAPITAL LETTER NOT PRONOUNCEABLE BY AMERICANS SMALL LETTER NOT PRONOUNCEABLE BY AMERICANS
Not that this has much to do with Linux of course.... but there are a lot of Linux users in Brazil; IIRC Conectiva is quite popular.
I don't think Yahoo has a mirror of Linux Gazette, but searching there for "Brazil" would net you a better chance of good information than visiting Linux Gazette would, anyway.
Every program is different. I have no idea what *that* program does, whatever it is. I can guess from the word "view" that it's a database application, but that's only a guess. Why don't you tell us?
-- Breen, without quite the high notes to sing that baritone line.
Subject: The Punk Kittens Have A Song For You! *LOL*
Punk Rock Kittens *NEW* LOL!!
I can just see Heather editing TAG with punk kittens wandering around the room....
Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PFRBQkxFIGNlbGxTcGFjaW5nPTAgY2VsbFBhZGRpbmc9MCB3aWR0aD03MjUg Ym9yZGVyPTA+DQo8VEJPRFk+DQo8VFI+DQo8VEQgc3R5bGU9IkZPTlQtU0la
[Looks like a Klez worm to me. -Iron.]
-------------------------------------------------------- DOWNLOAD THIS WHITE PAPER AND LEARN... -------------------------------------------------------- * The Hacker Profile * Common Hacking Tools - The Hacker's Toolkit * Top 10 Ways to Secure Against Attack * Seven Questions to Test Your Security
What you should expect from this mini-course...
Today we'll give you the single, *most powerful* element in the ebook writing process...
Then we'll send you 3 more emails (one every 2 days) where we cover:
Email 1 - Creating an Idea and Writing your eBook quickly
Email 2 - Publishing Your eBook so *everyone* can read it
Email 3 - Selling Your eBook and making money!
So you see Answerguy we have a lot of ground to cover... let's get started!
[The interesting thing about this scam is not the measly amount they're offering ($33,000 instead of $33,000,000 -- as the message just before this offered), but the fact that it comes with a text attachment containing 1230 e-mail addresses, several being Linux Gazette authors and other famous Linux personalities. Oops, I think their harvesting software made a mistake. Did they run it in reverse? The funniest address is "[email protected]"; I bet he's just waiting to invest. Here's an excerpt: -Iron.]
Email [email protected] [email protected] Heather Stern <[email protected]> Michael Conry <[email protected]> [email protected] Shane Collinge <[email protected]> Matteo Dell'Omodarme <[email protected]> Paul Evans <[email protected]> Mark Nielsen <[email protected]> Ben Okopnik <[email protected]> [email protected] [email protected] [email protected] [email protected] Doc Searls <[email protected]> Contact Us <[email protected]> ShadowDragon <[email protected]> ASCIIMan <[email protected]> [email protected] [email protected] Username@Host [email protected] [email protected] [email protected] [email protected] email us <[email protected]> click here <[email protected]> Ben Okopnik <[email protected]> [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] <[email protected]> [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Happy Linuxing!
Mike ("Iron") Orr
Editor, Linux Gazette, [email protected]