IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Oh, and as far as using it for a sequence at a time,
it doesn't follow the workflow.

The goal of this program is to be called from a data processing shell script. It is provides a contiguous range of usable unique ids.

So:

#1 - Check for input files.
#2 - Count input files - "wc -l" or some such
#3 - Call get_id_range, telling it how many you need
#4 - get_id_range figures out last highest used, and lets you know what the next available range is, in $LOW and $HIGH. It writes the highest in the file for the next invocation. It keeps the file locked during the process to make sure a simultaneous run does not hurt it. The lock is nothing more than the same file name with .lck added. This allows network mounted files to work when there is not a lock manager avaiable for real locking.
#5 - cat *.dat | preprend_id $LOW $HI >new_data_file_with_sequences.dat
#6 - Profit!
New OK - but I would be likely to model seq as iterator



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
     C++ destructer question - (broomberg) - (26)
         delete or free the resource? - (Yendor) - (2)
             Zip it, whipper-snapper -NT - (drewk)
             Yeah, but - (broomberg)
         <handwave>Smart Pointers and Exceptions</handwave> -NT - (altmann) - (5)
             These are not the droids you're looking for... -NT - (admin) - (4)
                 Um - (broomberg) - (3)
                     You can go about your business... move along... -NT - (admin) - (2)
                         You can go about your business... move along...move along - (altmann) - (1)
                             It'll be fine - (broomberg)
         Exceptions are key - (tuberculosis) - (16)
             Thanks -NT - (broomberg)
             How's this: - (broomberg) - (14)
                 A Mantra in C++ - Construction is Resource Acquisition - (tuberculosis) - (13)
                     Thanks - (broomberg) - (5)
                         2 of the "magic 4" methods - (tuberculosis) - (4)
                             Ahh, thanks - (broomberg) - (3)
                                 If you are going to continue on this path - (tuberculosis) - (2)
                                     Order request sent - (broomberg)
                                     Ordered from big river today. -NT - (broomberg)
                     Oh, and as far as using it for a sequence at a time, - (broomberg) - (1)
                         OK - but I would be likely to model seq as iterator -NT - (tuberculosis)
                     What. He. Said. - (jb4) - (4)
                         You can't properly hate something you don't really know -NT - (drewk) - (2)
                             Disagree. - (jb4) - (1)
                                 Disagree with your disagree. - (broomberg)
                         That's just the problem - (tuberculosis)

I didn't think that word took a modifier.
91 ms