miniapps
----------------------------------------- Author totierne version 0.1 Thu Feb 27 10:43:24 GMTST 2003

This is a directory for small mini apps in Java, bash, perl, C++, msdos batch file, tcl/tk, python, in rough order of importance. It may reach filesonline if that is the best way to make it available.

Directories:

incoming - For people to put new 'good stuff' in.
processed - 'Good Stuff' put in directories for each language and maybe a side by side migration/comparison directory.


------------------------------------------<
Kickoff Email: Feb 26
 Unofficial Crackpot scheme:

Send me your mini applications (<50 lines) and useful libraries so I can collate a sort of hello world of 'find pipe regex[sed/awk]' type operations in various languages. [Links to other peoples stuff would do]. These are mini apps you wrote to fill an immediate need, and may be useful to other people as examples of that language or library. Real mini apps preferably rather than exercises from a programming book. I'll put them up on files online.

I find it is typical, it takes you a week the first time, 3 days the next time (6 months later when you cannot find the original code), whereas it should take half a day cutting and pasting someone elses code, or your own code from a library.

There is allegedly going to be a group supporting migrations in MTG. SQL Production Line is currently using bash, maybe we should be using perl or java or jsp, or even Java Stored Procedures...

I tried to describe some mini shell programs in:

Shell Boot Camp(core of unix/shell scripting)
smallscripts(unix/shell scripting examples)

I personally would like to be proficient in writing small programs and applications in java, that use standard libraries and classes beyond simple file i/o, and the string and stringbuffer and database access classes. [I did write some java regexp, java system, jsp, ejb, SOAP etc code at some stage, and a fair amount of database access, some of which I have already lost [bit rot..], though its value was marginal.]

Er while I am at it, also is there a prefered GUI option, experience or code base for small projects/scripts in EDTC, ie  HTML, wxWindows [for C or perl], tk... or are scripts supposed to  take up lots of processing time and not be seen...

Regards
Turloch

Examples from the web, though these are often too big to reuse, and how do you search for functionality that you do not know the name/api call to search on?

[My bet is Google will have a source/algorithm search facility whenever this problem is cracked... GPL'd codebase is just too big a pool of information for google to not search and index and cross reference. I'll give it 3 years, its a bet worth a pint, anyone, anyone...

[aside]
Maybe the answer is to know one way and have google provide a mapping [a migration...] into another implementations terminology so if I want grep in java google [or otieneyandcroninsearchengine.com ] looks up regex java

I would really like to have comparible mini programs in several languages say shell, msdos bat file (shudder), C++, perl, java to allow a developer knowledgable in one to cut and paste up an equivalent in another language. But that would require more effort than I am willing to invest. Maybe this has been done elsewhere, my implementation now virtually established :) , would have been better.]


Shell examples
http://www.shelldorado.com/

Java
http://www.jfind.com/
http://www.javaarchives.com/
http://www.javaranch.com/

Perl
http://www.cpan.org/

C++
http://www.programmersheaven.com/zone3/index.htm