Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mdxi (4658)

  (email not shown publicly)

Journal of mdxi (4658)

Tuesday December 09, 2003
12:57 AM


[ #16231 ]
kdict well and truly underway. scripted database de- and construction was a snap -- a shell script handles the calls to postgres chunks and then calls a perl script with the brains to frob the data around and shove it in the db.

The shoving is not quite a go, as some issues have become apparent with the best way to handle some chunks which become complex once moved into a relational context. Still, I did add code to do a count-up of the number of records processed, complete with ANSI codes to manipulate cursor position for seamless odometer effect and bash-perl-bash output. Why? No one else will ever see it!

mdxi@fornax:~/web/dict/kdict$ ./
Dropping and creating database...done.
Importing initial database structure...done.
Populating database from flat-text source file...03485 entries...finished!

There. Now you've seen it, albeit sans ticker effect, so I have some justification.

Tonight's coding has been brought to you by the Naruto, Black Heaven, and WHR soundtracks. Stupefying fact: "Viva Rock", the 3rd seaon Naruto ED, contains the following lines:

sekai wa hiroi hiroi totetsu mo naku
ookii hito chiisai hito BIBIDEBABIDEBU-

roughly (and quickly) translated:

the world is wide, wide, absurd, and disappears
big people little people bibbetybobbityboo

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.