Applications/tools

Journal entries about applications and tools.

Open Source OCR?

Submitted by catfeeder
on January 27, 2004 - 6:41pm

Yesterday on my hour and a half drive to school, Neil and I caught up on his adventures at Linuxworld in New York last week. Sounded pretty cool. In spite of a couple of Sprint PCS service gaps (they never really mastered the art of the tower handoff with digital cellular, it seems), we had a pretty good conversation that made the drive go much faster.

Later, an idea hit me. I basically spend three hours in the car each day with my commute. I also have a fair amount of reading to do, especially in linguistics class. Since I can't read and drive at the same time (although it would seem like many here in the Bremerton area try exactly that), I wonder how hard it would be to set up a book reading machine with the old pieces and parts that I have? Of course, it'd have to be open-source, and since I'm a college student, and basically broke, I'd like it to be cheap (preferably free). So I piece what I have laying around: an HP ScanJet 5p, a couple of workstations (SGI and Sun), and some other assorted junk. Probably enough that with a little bit of cash to buy other odds and ends, I could make this work.

AntiRight Internationalization Started

Submitted by jefbed
on December 24, 2003 - 8:20am

I just started work this week on translating the AntiRight Desktop Environment to French and German. Most messages have been translated, but more work remains for items in the view menu of the panel. ARBrowse has been translated, as has xmtextedit. I plan on starting Spanish and Italian translations once 1.107 has been released. Rather than using gettext for internationalization, I have written a simple internationalization API.

SGI™ cams and OutBox pages

Submitted by basementlab
on December 20, 2003 - 6:01am

Those not familiar with SGI's Irix, particularily version 6.5, might find it interesting that the stock install includes a web server that is preconfigured to serve dynamicly generated pages, with one for each user, sans root. Other pages include one for information about the machine, and another that shows a still image taken from the attached(?) camera, that can be updated by clicking on the image.

Filtering mail and spam with perl

Submitted by shonyo
on December 17, 2003 - 6:38am

Thanks to the tag team effort between the Mail::Audit perl module and the Mail::SpamAssassin perl module, I now have a mail-filter perl script that both replaces procmail's ghetto recipes and filters spam.

Simon Cozens, author of Mail::Audit, and maintainer of the perl.com website, published this article on Mail::Audit, and how it could be used as an alternative to procmail. The ease at which mail filtering recipe's could be written in legible perl code was very appealing to me. However, it wasn't until I read his followup article on fighting spam that I was completely sold on using Mail::Audit.

Will code for entertainment

Submitted by shonyo
on December 14, 2003 - 7:07pm

I need a programming project to keep me doing something productive. The hardest part however is figuring out what to build, and how to build it.

Perhaps I should hop on my horse and travel down to the Ye Olde Coder's Guild Hall and see if there are any poster ads of things people would like written for them.

*sigh* See why I need to stay productive?

Blasteroids

Submitted by catfeeder
on December 12, 2003 - 10:06am

I just don't know where to start.



I got done with my final project for Flash and turned it in. It's a really cheesy Asteroids type game that I've entitled "Blasteroids." I spent about seven and a half hours last night turning Blasteroids into something sort of barely functional. Limitations? Oh yes. One asteroid to shoot at, one laser blast on screen at a time, no sound. (I didn't want to tackle dynamic array allocation in ActionScript in one night.) Oh, and the ships have a marvelous prepensity to explode without warning (which goes well with the butt-rock themed music I was thinking about incorporating into game). Part of this is rather sloppy boundaries between symbol instances that Flash uses for the hitTest method, but the other part was my own dumbassness in picking the objects to explode with a huge debris field (causing an exploding asteroid to take out the ship about half the time). To counter this, I had the forethought to give you 69 lives for plenty of playing enjoyment. A few points of advice for those ready to play it:

  • If you're too close to the rock when it blows up, you'll probably end up losing the ship, and then suffering a ton of spontaneous explosions. Hitting the gas usually gets you out of trouble.
  • The down arrow key is a self destruct, which causes you to lose a life, but brings the ship to a screeching halt too. Plus it's sort of fun to get up close to the rock and go Kamikaze on it! If you get tired of playing and want to see the "game over" screen, simply hold it down and it will rapidly deplete your available ships.
  • I like to approach the rock going in reverse and then hit the thrust to explode it, but about half the time, I "Ford Pinto" myself and the debris ends up killing me.
  • Yes, I know it's full of programming bugs, but what the hell? It makes it a bit more challenging to play, right?

For those of you just dying to play Blasteroids, here it is.

sendmail

Submitted by basementlab
on December 9, 2003 - 11:40pm

As soon as I'm comfortable with what I've done, and it's all working, I'll post what I did to setup the mail server and what I did wrong in finding out WHAT to do.

Ogg-Vorbis rules, TDK sucks

Submitted by catfeeder
on December 5, 2003 - 8:08am

I've been staying pretty busy lately, and my blog has suffered for it. So I guess some quick updates are in order. Danger, some expletives ahead.



Last Tuesday we tried to put the 4-track to good use, but we were stymied by a terrible clicking/popping noise that kept showing up on playback after we'd record. Initially I thought this was due to the crappy wiring at Brian and Greg's house, but after messing around with the tape machine and every possible setting over at Ed's house, I was down to a bad tape deck or bad tapes. Sure enough, Ed hands me a blank tape from his collection, and things are fine. So then I unwrap another tape from my newly purchased box of TDK SM60 casettes (made specifically for multitrack use), and things are OK. All in all, two of the four tapes I opened had this defect. Initially I was just going to use the tapes that were actually good in the bunch, but last night as we recorded "Wally" and "Missionary," it was obvious that even the tapes that seemed OK have some problems. What a pain in the ass. Thanks for wasting my time and money, TDK.

Undetected USB modem on Mdk 9.1

Submitted by brewed
on December 2, 2003 - 6:17am

I recently installed Linux Mdk 9.1 on my box. At First I was very happy when I successfully installed it, but when i try to connect to the internet using a dial-up connection, my USB modem was not detected although it has detected a hardware on the USB port but it never had a category as a modem or what kind of hardware does the USB port deteced. By the way my modem is conexant 56k USB modem.

Any help on this ! thanks

Simple Backup Script

Submitted by xwings
on December 1, 2003 - 7:12am
Title   : Simple Backup Script
Os      : *NiX
Servers : 1. MySql
          2. Ftp
          3. Bash


-- MySql Syntax --

mysql> create database dbname;
mysql> grant all on dbname.* to dbuser@localhost identified by "dbpassword";
mysql> FLUSH PRIVILEGES;
mysql> show databases;
mysql> use dbname;
mysql> show tables;
mysql> drop table tablename;
mysql> drop database dbname;

bah

Submitted by jcopenha
on November 27, 2003 - 5:20pm

Ha.. so that last entry was a waste... That diary didn't last at all.. I doubt this one will either.. but you can check out my homepage for my updated resume. New format and a new job =)

What open source HTML creation tools do you use?

Submitted by catfeeder
on November 25, 2003 - 5:07am

I need to build a website for my band, Slow Goat Riot. In the past, I've used Mozilla composer to build my personal website and the website for my photography business. Mostly owing to my lack of artistic direction in website design, these sites are really rudimentary. But I'm curious; if I want to go with more complex formatting, are there good open source editors to help with layout or am I just going to have to push my nose to the grindstone for good HTML? (Which probably won't happen; I'm spending too much time doing other stuff anyway.)

Just to let you know; NTP

Submitted by catfeeder
on November 21, 2003 - 1:28pm

Slow Goat Riot is playing at 9 tonight at JA Michaels.



With that out of the way, can someone tell me why my NTP daemon keeps dying? Right now, I've got my router/web server (Trogdor) running an NTP daemon that gets updates from clock.xmission.com. To save hits on a stratum 1 server, my internal machines then update from Trogdor. The problem is, it runs for a day or so (at least some time over an hour), and then it just dies. I'm not really sure why. This of course causes the ntp daemons on my other machines to eventually kill themselves after enough time of no updates.

OpenLdap + Berkeley DB + PHP

Submitted by xwings
on November 21, 2003 - 1:33am
Title  : OpenLdap with Berkeley DB
Os     : Linux
Distro : Slackware
URL    : http://www.sleepycat.com/
         http://www.openldap.org/
         http://www.php.net/

I.   Dowload Berkeley DB
II.  Download OpenLdap
III. Download PHP

Part I. Install Berkeley DB

   i.   Download the tar.gz file , Untar the file.
      # cd db-
      # cd build_unix
      # ../dist/configure

Small Notes On CVS server

Submitted by xwings
on November 13, 2003 - 11:30pm
Title  : CVS Server
Os     : Linux
Distro : Slackware
URL    : http://www.cvshome.org/

Download the latest CVS.
Untar it.

     # ./configure
     # make
     # make install

Short Notes

     # groupadd cvs
     # useradd cvsroot 
     # mkdir /home/cvsroot 
     # cvs -d /home/cvsroot init 
     # chown -R cvsroot.cvs /home/cvsroot 
     # chmod -R ug+rwx /homecvsroot