From: Waitman C. G. <wa...@em...> - 2002-10-16 21:11:03
|
hello! sorry to keep pestering you guys with output and files, but attached is a better version that has PERCENT-COMPLETE, DUE, COMPLETED, PRIORITY in the VTODO section (master_array[-2]). I have a question. Right now, when I stick an alarm in master_array[-3] I manually set the type to "VALARM". Do you think it smarted to use "VEVENT" or "VTODO" in this field, so we have some sort of idear what the heck the thing is? I am leaning this way but would appreciate some input! also, i realize that perhaps the extra fields with the unix time stamps may be overkill, however (IMO) the unix timestamp info is more useful, especially when converting the time across timezones, calculating differences in time, whatever. the overlapper function seems to work too. from what i could tell the thing is just supposed to know how many concurrent events take place, in addition to any particular event. the number in the field is used to calculate how many columns to display. i really don't think anything else is required, correct? your input here is most appreciated. another thing, i broke the code up where the text exceeded 80 columns, to get it more readable. that brings me to exactly 400 lines. i am not too concerned about the lineage, just want something that performs. with that in mind, I think i am ready to do some performance tests. thanks! waitman Array ( [-3] => Array ( [20021022] => Array ( [1000] => Array ( [0] => Array ( [event_start] => 1100 [event_text] => Dentist Appt [event_end] => 1200 [event_length] => 60 [event_overlap] => 0 [description] => [uid] => 968757005 [status] => [alarm] => -PT1H [type] => VALARM [unix_start] => 1035309600 [unix_end] => 1035313200 ) ) ) ) [-2] => Array ( [20021009] => Array ( [0000] => Array ( [0] => Array ( [event_start] => 0000 [event_text] => don's form and web site [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 959420326 [status] => NEEDS-ACTION [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => [completed_time] => [unix_completed] => ) [1] => Array ( [event_start] => 0000 [event_text] => brideworld updates [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 926179144 [status] => NEEDS-ACTION [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => [completed_time] => [unix_completed] => ) [2] => Array ( [event_start] => 0000 [event_text] => reports - dealflow [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 900181173 [status] => COMPLETED [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => 20021009 [completed_time] => 2237 [unix_completed] => 1034228235 ) [3] => Array ( [event_start] => 0000 [event_text] => montauk email for jason [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 947654954 [status] => COMPLETED [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => 20021009 [completed_time] => 2237 [unix_completed] => 1034228254 ) [4] => Array ( [event_start] => 0000 [event_text] => platt work for justin [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 924600754 [status] => COMPLETED [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => 20021009 [completed_time] => 2237 [unix_completed] => 1034228273 ) [5] => Array ( [event_start] => 0000 [event_text] => gotscraps crochet pattern discount [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 938557324 [status] => COMPLETED [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => 20021009 [completed_time] => 2238 [unix_completed] => 1034228296 ) [6] => Array ( [event_start] => 0000 [event_text] => buena park chamber secure payments [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 915842962 [status] => NEEDS-ACTION [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => [completed_time] => [unix_completed] => ) [7] => Array ( [event_start] => 0000 [event_text] => propreviewphotography [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => [uid] => 915514433 [status] => NEEDS-ACTION [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021009 [due_time] => 2359 [unix_due] => 1034233140 [priority] => [percent_complete] => [completed_date] => [completed_time] => [unix_completed] => ) [8] => Array ( [event_start] => 0000 [event_text] => data for sexappeal [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => THIS IS A TEST AND NOTHING BUT A TEST [uid] => 916143937 [status] => IN-PROCESS [alarm] => [type] => VTODO [unix_start] => 1034146800 [unix_end] => 1034751600 [due_date] => 20021031 [due_time] => 2359 [unix_due] => 1036137540 [priority] => 1 [percent_complete] => 40 [completed_date] => [completed_time] => [unix_completed] => ) ) ) [20021010] => Array ( [0000] => Array ( [0] => Array ( [event_start] => 0000 [event_text] => invoice for adcom publishing [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => review outstanding invoices for adcom publishing [uid] => 979849348 [status] => COMPLETED [alarm] => [type] => VTODO [unix_start] => 1034233200 [unix_end] => 1034751600 [due_date] => 20021010 [due_time] => 2359 [unix_due] => 1034319540 [priority] => [percent_complete] => [completed_date] => 20021010 [completed_time] => 0738 [unix_completed] => 1034260726 ) ) ) [20021014] => Array ( [0000] => Array ( [0] => Array ( [event_start] => 0000 [event_text] => BP Chamber Calendar [event_end] => 0000 [event_length] => 00 [event_overlap] => 0 [description] => link not working [uid] => 941055869 [status] => NEEDS-ACTION [alarm] => [type] => VTODO [unix_start] => 1034578800 [unix_end] => 1034751600 [due_date] => 20021014 [due_time] => 2359 [unix_due] => 1034665140 [priority] => 1 [percent_complete] => [completed_date] => [completed_time] => [unix_completed] => ) ) ) ) [-1] => valid cal file [20021015] => Array ( [1000] => Array ( [0] => Array ( [event_start] => 1000 [event_text] => Cal Tech Design [event_end] => 1145 [event_length] => 105 [event_overlap] => 0 [description] => [uid] => 902705443 [status] => [alarm] => [type] => VEVENT [unix_start] => 1034701200 [unix_end] => 1034707500 ) ) [1300] => Array ( [0] => Array ( [event_start] => 1300 [event_text] => Creative Resources [event_end] => 1700 [event_length] => 240 [event_overlap] => 0 [description] => resolve issues on list [uid] => 906774672 [status] => [alarm] => [type] => VEVENT [unix_start] => 1034712000 [unix_end] => 1034726400 ) ) ) [20021022] => Array ( [0900] => Array ( [0] => Array ( [event_start] => 0900 [event_text] => Creative Resources [event_end] => 1700 [event_length] => 480 [event_overlap] => 0 [description] => rebuild os x server and reconfigure squid and scripts [uid] => 981687214 [status] => [alarm] => [type] => VEVENT [unix_start] => 1035302400 [unix_end] => 1035331200 ) ) [1100] => Array ( [0] => Array ( [event_start] => 1100 [event_text] => Dentist Appt [event_end] => 1200 [event_length] => 60 [event_overlap] => 0 [description] => [uid] => 968757005 [status] => [alarm] => -PT1H [type] => VEVENT [unix_start] => 1035309600 [unix_end] => 1035313200 ) ) ) [20021115] => Array ( [1000] => Array ( [0] => Array ( [event_start] => 1000 [event_text] => Teacher Conference [event_end] => 1030 [event_length] => 30 [event_overlap] => 0 [description] => [uid] => 982787692 [status] => [alarm] => [type] => VEVENT [unix_start] => 1037383200 [unix_end] => 1037385000 ) ) ) ) Array ( [0] => 1035309600 [1] => 1035313200 [2] => 1034701200 [3] => 1034707500 [4] => 1037383200 [5] => 1037385000 [6] => 1035302400 [7] => 1035331200 [8] => 1034712000 [9] => 1034726400 ) On Wed, 2002-10-16 at 13:02, Waitman C. Gobble wrote: hello! |