|
KiXgolf: Fragmentation
|
|
============= The Challenge =============
Your friend, a biochemistry major, tripped while carrying a tray of computer files through the lab. All of the files fell to the ground and broke. Your friend picked up all the file fragments and called you to ask for help putting them back together again.
Fortunately, all of the files on the tray were identical, all of them broke into exactly two fragments, and all of the file fragments were found. Unfortunately, the files didn't all break in the same place, and the fragments were completely mixed up by their fall to the floor.
You've translated the original binary fragments into strings of ASCII 1's and 0's, and you're planning to write a program to determine the bit pattern the files contained. If there are 2N fragments in the input, it should be possible to concatenate these fragments together in pairs to make N copies of the output string.
There will be exactly one unique solution. The file can not be broken up at the same point multiple times, however even so you can have fragments that are the same. There will be no empty fragments.
Your friend is certain that there were no more than 8 files on the tray, and that the files were all no more than 9 bits in size.
A download is available at http://s91376351.onlinehome.us/kixtart/kixgolf_fragmentation.zip
============= Specification =============
The input are 2N broken file segments for N identical files. The output will be one unique bit-pattern represented by the 2N file fragments.
For example, consider three files on the tray that got fragmented into the following six pieces:
#1 = 011 #2 = 0111 #3 = 01110 #4 = 111 #5 = 0111 #6 = 10111
The file fragments are three, four, and five bits long each, thus the toal length of the file was eight bits. Fragments #1 and #6 belong together, as well as fragments #2 and #5. Thus, #3 and #4 are the last pair.
The file itself is therefore 01110111.
============= Inputs & Outputs =============
Input will consist of an array of "file fragments", one per array element. Each fragment consists of a string of ASCII 1's and 0's.
Output is a single string of ASCII 1's and 0's giving the bit pattern of the original files.
======= Scoring =======
All provided test cases representing our clumsy biochemist must be correctly solved in order to have the KiXgolf score count. However, if a script fails any valid public or non-public test case the KiXgolf score will not count.
============= General rules =============
- The UDF must be written as one or more lines.
- The UDF is expected to finish in a reasonable time, e.g. if it gets started when the challenge opens, it's expected to be finished by the time the challenge closes even on a somewhat slow computer. The UDF has to be valid during the period that the challenge runs.
- You can submit scores as often as you want until the deadline, there's no reason to wait until the last minute for a score submission. In fact, other people want to see the score to beat. So don't be a spoilsport by hoarding your score. Submit early and often.
- The UDF may only use the KiXtart/KiXforms commands/functions/macros, no other code fragments are allowed. Calls to cOM components that are part part of a standard default Windows installation are allowed.
- Calls to other executables, as long as they are part of a standard default Windows installation are allowed.
- The use of the KiXforms DLL is also permitted as the KiXforms DLL can now be considered an integral part of KiXtart scripting.
- The UDF should be self-contained (except for any I/O mentioned in the challenge). In particular, you may not do things like fetching extra data from a remote site or file.
- You may assume ASCII as character set.
- You are not allowed to use additional code that is external to the KiXgolf UDF Collection. All code must be contained within the KiXgolf UDF Collection.
- You are allowed to only use publicly available versions of KiXtart and KiXforms, private builds or alpha builds are NOT allowed
- Your submitted score must include the KiXart/KiXforms version used.
When posting KiXtart Golf Scores, please include the KIXGOLF_*.TXT file that is created in the script directory. It contains some basic information about the computer that the script is run on and the resulting scores.
======== Deadlines ========
Private coding starts Friday, September 30, 2005, 6:00pm EST Private coding ends Wednesday, October 5, 2005, 6pm EST Public coding start Wednesday, October 5, 2005, 6pm EST Public coding ends Sunday, October 9, 2005, 6pm EST
============ Test program ============
A test program is provided to help screen entries and to provide the Golf Score. Any program that passes the test program can be submitted. If you are surprised that your solution passed the test program, please submit it anyway! That will help me identify bugs in the test program.
================================================================ KiXtart GOLF - How To Play ================================================================
Most importantly, anybody can play, no age restrictions, no penalties, no handicap!
The object in "real" golf is to hit the ball in the hole in the fewest strokes. The object in KiXtart Golf is to get from input (tee) to target (hole) in the fewest keystrokes.
Example: How many positive elements are in array $a?
Array $a could be of structure $a=[1, 2 ,-3, 4, -5, -7, 8, 9]
One approach: [CODE]for $b=0 to ubound($a) if $a[$b]>0 $c=$c+1 endif next[/CODE]for a score of 45.
Another solution is: [CODE]DO $b=$b+1 if $a[$b]>0 $c=$c+1 endif UNTIL $b>(UBOUND($a)+1)[/CODE]for a score of 53.
Better approach: Code sample 1
================================================================ KiXtart GOLF - The Rules ================================================================
- The goal of KiXtart Golf is to score the lowest strokes.
- Strokes are all characters in a piece of code except whitespace characters, unless the whitespace character is necessary for the line of code to work. Therefore, carriage returns and line feeds do not count or spaces in between the '=' sign when assigning variables, e.g. '$a = $b' scores 5.
- Code can be constructed any way you like, as long as it is syntactically correct with KiXtart.
- The final solution MUST pass all test scripts that accompagny the KiXtart golf challenge.
- The use of '$' as a variable is allowed.
- In case of questions about a particular way to count the KiXtart Golf Challenge organizer has the last call.
- During the private coding phase, no code is allowed to be posted. Violations result in disqualification of said player.
- During the public coding phase, code should be posted, reused, and borrowed from other players.
- The test script contains the official KiXgolf scoring engine
- While the provided test cases cover a whole range of situations they are by no means complete, and can be amended at any time with additional test cases.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-01 12:52 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
nice. need to think this over but I really liked the story.
|
NTDOC
|
(KiX Master)
|
2005-10-01 01:04 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Fire the dork for not wearing approved industrial shoes with a slip resistant sole
Then call the Golf Masters to do the dirty work, I see how you are Jens.
Good luck you Golf Masters, not sure if I'll play or not, but would like to maybe give it a go.
|
maciep
|
(Korg Regular)
|
2005-10-01 04:42 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
very ugly but it seems to work
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel Pentium Celeron Speed = 1096 MHz Memory = 190 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/09/30 22:20:20.500 Processing End = 2005/09/30 22:20:21.234 Duration = 0000/00/00 00:00:00.733 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 355
|
maciep
|
(Korg Regular)
|
2005-10-01 05:26 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel Pentium Celeron Speed = 1096 MHz Memory = 190 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/09/30 23:05:06.875 Processing End = 2005/09/30 23:05:07.796 Duration = 0000/00/00 00:00:00.921 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 264
|
Allen
|
(KiX Supporter)
|
2005-10-01 06:32 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Ack!
Works... but geesh...
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2003 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/01 00:00:08.625 Processing End = 2005/10/01 00:00:08.859 Duration = 0000/00/00 00:00:00.234 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 460 Thank you for participating in KiXtart Golf!
|
Lonkero
|
(KiX Master Guru)
|
2005-10-01 01:28 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
just woke up. nice to see that Allen is already racing.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-02 02:30 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
and getting to bed. the code is still not working. (well, partly passes the tests but...)
|
Allen
|
(KiX Supporter)
|
2005-10-02 06:10 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
What a pain this one is...
I think I've done all I can... Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/01 23:50:13.640 Processing End = 2005/10/01 23:50:13.843 Duration = 0000/00/00 00:00:00.202 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 350
|
Allen
|
(KiX Supporter)
|
2005-10-02 06:13 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
So where are all the other golfers? Not playing, or having trouble getting it working?
|
Allen
|
(KiX Supporter)
|
2005-10-02 07:15 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
K... I lied... found a little more...
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/02 00:55:50.187 Processing End = 2005/10/02 00:55:50.390 Duration = 0000/00/00 00:00:00.202 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 344 Thank you for participating in KiXtart Golf!
|
Allen
|
(KiX Supporter)
|
2005-10-02 07:22 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
341 329 328 325
Dang! Still need to wipe out 60 strokes just to catch up... and who knows how many strokes maciep is holding back
|
NTDOC
|
(KiX Master)
|
2005-10-02 10:01 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Well I really did want to play this one, but alas, the whole weekend so far except few bits of time here and there is called for by the family and mini projects. Been building Ikea junk most of the day for the kids. Wow, guess Sweden is expensive - notice that they now have stuff built by other places for them.
|
Allen
|
(KiX Supporter)
|
2005-10-02 03:51 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Still trying...
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/02 09:32:37.203 Processing End = 2005/10/02 09:32:37.375 Duration = 0000/00/00 00:00:00.171 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 315 Thank you for participating in KiXtart Golf!
|
MightyR1
|
(MM club member)
|
2005-10-02 10:21 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
So where are all the other golfers? Not playing, or having trouble getting it working?
Like I said, busy weekend. Will start tomorrow @work. There I've got about 8 hours of free time
|
iffy
|
(Starting to like KiXtart)
|
2005-10-02 10:34 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Hey, I want one of those jobs, where can I send my application?
|
NTDOC
|
(KiX Master)
|
2005-10-02 11:59 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Unable to download the file. Perhaps someone else could host it.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 12:37 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I am stuck with the test 14. can't understand really why but my code just blows up with it.
|
Allen
|
(KiX Supporter)
|
2005-10-03 01:07 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
yeah Jooel I'm having a similar problem with my alternate code. It is shorter than the version I am scoring with, but doesn't work on about 25% of the test cases.
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/02 18:40:01.343 Processing End = 2005/10/02 18:40:01.515 Duration = 0000/00/00 00:00:00.172 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 313
|
maciep
|
(Korg Regular)
|
2005-10-03 01:55 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
my 264 code works but it's flawed. If i change the order of some of the inputs, it doesn't work.
I have working working code with a score 317
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 02:27 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
so, the current low is 313?
hmm... I will give this a final test this evening after I watched an episode of warrior princess...
|
MightyR1
|
(MM club member)
|
2005-10-03 10:54 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
OK,
I've read the rules. Gettting the length is easy. Now to put them in the right order.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 12:15 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
k, I had a infinite loop issue last time. thanks to that, my UDF never got passed the test14. and damn my laptop can be noisy.
anyway, was playing with the golf scoring engine or actually with it's output. I say it is giving way too much information. iirc, in the beginning it used to print out some status info, no?
anyway, I've edited the script every round now to be able to run my semi working UDF's with it too.
if someone wants to give it a go or even suggest their own editions, it's here: KiXgolf Testing kix
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 12:59 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
and... I'm still running my tests. after an hour am at test 25.
just hope that it gets all done before the deadline... the tests around 80 look killers for my code.
[edit] got passed 25 and am now watching the code play with 43. seems that I will be lucky to get this passing the test. I won't be part of the private golfing itself.
[€dit2] still running test 43... getting frustrated
|
maciep
|
(Korg Regular)
|
2005-10-03 03:38 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Wow
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 05:25 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
still at test43. if it's not done that test when I get back home some hours later, I will kill the script. it has wasted about 4.5 hours of processor time already and not even close to half way through.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 08:20 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
k, killed it. can't see what is going wrong but it can't get passed test43.
|
Allen
|
(KiX Supporter)
|
2005-10-03 08:27 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
my 264 code works but it's flawed. If i change the order of some of the inputs, it doesn't work.
I have working working code with a score 317
Do you mean it passes all the tests, but there are other tests it would fail?
|
maciep
|
(Korg Regular)
|
2005-10-03 08:40 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
yeah, it passes all of the tests but i knew it wasn't 'right'.
So, for example, I took the array for the second test and swapped the first two elements - that broke the script. So i fixed it up a bit, because it bothered me. I'd rather have it working all of the time as opposed to just against the test cases.
Maybe i'll get back to golfing the 317 code tonight a little bit (or maybe come up with a new approach all together)
|
Allen
|
(KiX Supporter)
|
2005-10-03 08:59 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I'll be the first one to admit I'm not too sure my code is "right" either. However, I tried what you suggested, swapping the first two values in the second test, and it still works. (shew)
Jens, should that be added as another test case.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 09:37 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
heh... I say pull of at least half of the current tests. they are way too many
|
maciep
|
(Korg Regular)
|
2005-10-03 09:44 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
How about we just use test 43 and none of the others
|
Lonkero
|
(KiX Master Guru)
|
2005-10-03 09:55 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
lol.
|
MightyR1
|
(MM club member)
|
2005-10-03 11:32 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Code:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix Computer OS = Windows XP Professional CPU = Intel Pentium Model 13 Speed = 1994 MHz Memory = 1024 MB KiXGolf Scoring Engine Scoring Engine = 3.0.3 KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/03 23:09:37.206 Processing End = 2005/10/03 23:09:38.117 Duration = 0000/00/00 00:00:00.910 Used Processor Time = 0,4706768 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 405 Thank you for participating in KiXtart Golf!
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 12:41 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
OK! Code:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 01:16:32.110 Processing End = 2005/10/04 01:18:55.867 Duration = 0000/00/00 00:02:23.757 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 246
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 12:43 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
hmm... need to fix the code font in this forum. looks ugly now.
also, my test on the kixgolf testing engine failed to run. got error on line 74 which is second call to processortime()
somehow kixtart just blows it up. if someone can figure it out, I would be pleased.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 12:49 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
now it looks lot better. I must admit, I have grown to love courier new.
|
Allen
|
(KiX Supporter)
|
2005-10-04 12:52 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
Duration = 0000/00/00 00:02:23.757 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 246
!@#$ grumble grumble! Gawd!
>2 minutes ... at least mine is faster!
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 12:54 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
well, 2 minutes is lot less than 20 hours
iirc, it was hoby (or was it?) who had a code that ran for about 100 hours before he decided it was in endless loop
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 01:34 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
jens, there is a buggie boo in your atrim() I think it's caused by the explicit which it does not apply.
moving my UDF up over it makes it work fine again. and here is the test engine: kixgolf test engine
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 01:54 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
and to make use of my new nice tester, made a bit shorter UDF: Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 02:37:41.662 Processing End = 2005/10/04 02:40:05.649 Duration = 0000/00/00 00:02:23.986 Used Processor Time = 00:02:12.370 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 243
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Allen
|
(KiX Supporter)
|
2005-10-04 03:02 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Okay...you made me think some more... (still bigger... but still faster )
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/03 20:40:54.906 Processing End = 2005/10/03 20:40:55.078 Duration = 0000/00/00 00:00:00.171 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 270
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 03:05 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
hope I didn't give away my schemantics when I chatted with you
|
Allen
|
(KiX Supporter)
|
2005-10-04 03:06 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
More...
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/03 20:46:33.250 Processing End = 2005/10/03 20:46:33.421 Duration = 0000/00/00 00:00:00.171 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 263
|
Allen
|
(KiX Supporter)
|
2005-10-04 03:16 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/03 20:55:49.171 Processing End = 2005/10/03 20:55:49.390 Duration = 0000/00/00 00:00:00.218 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 255
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 04:11 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 04:46:41.872 Processing End = 2005/10/04 04:49:06.370 Duration = 0000/00/00 00:02:24.498 Used Processor Time = 00:02:11.639 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 240
Thank you for participating in KiXtart Golf! Press any key to continue...
|
|
Re: KiXgolf: Fragmentation
|
|
How did you find a bug in ATRIM() if it's not even used in my portion of the code? Unless, of course, you're using it in yours? What exactly is the bug? All vars inside ATRIM are being DIMmed as far as I can tell.
|
MightyR1
|
(MM club member)
|
2005-10-04 09:46 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Code:
KiXtart Engine KiXtart Version = 4.50 (KIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) 4 CPU 2.80GHz Speed = 2806 MHz Memory = 1022 MB KiXGolf Scoring Engine Scoring Engine = 3.0.3 KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 09:26:26.850 Processing End = 2005/10/04 09:26:28.272 Duration = 0000/00/00 00:00:01.421 Used Processor Time = 00:00:00.625 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 359 Thank you for participating in KiXtart Golf!
|
MightyR1
|
(MM club member)
|
2005-10-04 12:14 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
329
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 01:36 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
jens, it executes and the exec makes new global vars on the fly. see for yourself.
all I know that if I place anything after the atrim section, it won't work but kixtart crashes.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 02:31 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 15:07:32.355 Processing End = 2005/10/04 15:09:41.181 Duration = 0000/00/00 00:02:08.825 Used Processor Time = 00:02:07.283 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 239
Thank you for participating in KiXtart Golf! Press any key to continue...
4 seconds faster than last time!
|
MightyR1
|
(MM club member)
|
2005-10-04 02:39 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Ouch, 90 less then mine ...
|
|
Re: KiXgolf: Fragmentation
|
|
Had company over the weekend. Tried and failed on two tests. So far no working code.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-04 03:32 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
hoby nice to hear from you. thought you were dead or something.
|
|
Re: KiXgolf: Fragmentation
|
|
No, just very busy and playing Halo2 when I get the chance.
|
maciep
|
(Korg Regular)
|
2005-10-05 03:34 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
ok, did a little bit of thinking and i'm back in it.
Code:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel Pentium Celeron Speed = 1096 MHz Memory = 190 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 21:11:07.125 Processing End = 2005/10/04 21:11:08.687 Duration = 0000/00/00 00:00:01.562 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 259
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 03:54 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I knew if someone, you would be
now if we get some lower score from allen, we have a fight
|
maciep
|
(Korg Regular)
|
2005-10-05 04:02 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
And it looks like you were right again
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel Pentium Celeron Speed = 1096 MHz Memory = 190 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/04 21:38:42.640 Processing End = 2005/10/04 21:38:44.875 Duration = 0000/00/00 00:00:02.235 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 237
KiXGolf Score = 236 KiXGolf Score = 235
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 05:07 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
hehe... you have no idea what I had to do to get this script even running at all...
Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 05:42:52.866 Processing End = 2005/10/05 05:45:20.959 Duration = 0000/00/00 00:02:28.092 Used Processor Time = 00:02:16.596 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 233
Thank you for participating in KiXtart Golf! Press any key to continue...
|
maciep
|
(Korg Regular)
|
2005-10-05 05:23 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
can't wait to see it
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 05:31 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I was thinking... the golf tester code needs an update anyways (it does not say kf build even though rules require to report it, as an example)
maybe add some more process info too. PeakWorkingSetSize as one.
but, now I shall get some sleep. big day tomorrow.
|
Allen
|
(KiX Supporter)
|
2005-10-05 06:31 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
now if we get some lower score from allen, we have a fight
I've got nothing left that I can see. I'm bowing out to you guy's greater skills.
|
maciep
|
(Korg Regular)
|
2005-10-05 01:21 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Allen, take a look at the Happy Numbers tournament...you might pick up some ideas.
I'm at work now, so i don't think i'll be able to spend any more time on this...so close.
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel(R) Xeon(TM) CPU 2.80GHz Speed = 2790 MHz Memory = 1024 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 07:01:06.287 Processing End = 2005/10/05 07:01:06.740 Duration = 0000/00/00 00:00:00.453 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 234
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 02:11 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
maciep, you have always the evening
stay at work until the closing bell and you shall get even closer
|
maciep
|
(Korg Regular)
|
2005-10-05 02:23 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Work, then the gym and home around 6:30 EST. But i might be able to find a stroke or two to get rid today.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 02:47 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
hmm... I have to get ready for gym here too. so, lets post the current score: Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB KiXGolf Scoring Engine Scoring Engine = 3.0.3 KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 15:15:04.633 Processing End = 2005/10/05 15:17:29.641 Duration = 0000/00/00 00:02:25.008 Used Processor Time = 00:02:20.201 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 231 Thank you for participating in KiXtart Golf! Press any key to continue...
|
maciep
|
(Korg Regular)
|
2005-10-05 02:53 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I said 'a stroke or two' not 3 or 4...crap!
|
maciep
|
(Korg Regular)
|
2005-10-05 03:05 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Well i wasn't expecting it to work, but i guess it's my lucky day
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel(R) Xeon(TM) CPU 2.80GHz Speed = 2790 MHz Memory = 1024 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 08:45:41.155 Processing End = 2005/10/05 08:45:41.592 Duration = 0000/00/00 00:00:00.437 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 230
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 10:17 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I just came home. dude, you truly are a basta. gladly, I have 2 hours time to think some wicked cut place.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-05 10:47 PM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
you are right. the last put comes from really not-so-expected-to-work place. Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 23:20:24.035 Processing End = 2005/10/05 23:24:16.869 Duration = 0000/00/00 00:03:52.834 Used Processor Time = 00:03:50.541 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 230
Thank you for participating in KiXtart Golf! Press any key to continue..
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 12:02 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
YEHAA! I FOUND ONE! and look at the clock, 18 mins to go!
Code:
KiXtart Engine KiXtart Version = 4.50 (WKIX32.EXE) KiXGolf Script = kixgolf_fragmentation.kix Computer OS = Windows 2000 Professional CPU = Intel Pentium III Speed = 797 MHz Memory = 376 MB KiXGolf Scoring Engine Scoring Engine = 3.0.3 KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/06 00:38:13.188 Processing End = 2005/10/06 00:40:48.081 Duration = 0000/00/00 00:02:34.893 Used Processor Time = 00:02:22.835 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 229 Thank you for participating in KiXtart Golf!
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 12:07 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
and this one was more not expected.
|
Allen
|
(KiX Supporter)
|
2005-10-06 12:16 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Quote:
Allen, take a look at the Happy Numbers tournament...you might pick up some ideas.
Yeah Yeah... I've got a good idea of what you guys are doing, but I just can't visualize doing it. I'm looking forward to learning some new tricks.
(hehe... I know Jooel can see that I am posting right at the last minute... making him sweat )
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 12:22 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
dong. someone can count the seconds but my clock says 1:01AM and that means, the private stage has ended.
|
maciep
|
(Korg Regular)
|
2005-10-06 12:50 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
now who's the basta!!! By the way, do you lose pounds as your golf score goes down?
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 12:54 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
nah, been on diet for a month and my sigs says the result.
|
maciep
|
(Korg Regular)
|
2005-10-06 12:59 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
I was waiting for it to change to 229 next. Hey, are we allowed to change the parameter '$'?
Private's coding is over, i know. But
Quote:
KiXtart Engine KiXtart Version = 4.50 KiXGolf Script = kixgolf_fragmentation.kix
Computer OS = Windows XP Professional CPU = Intel(R) Xeon(TM) CPU 2.80GHz Speed = 2790 MHz Memory = 1024 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXGolf Score Tournament = Fragmentation Processing Start = 2005/10/05 18:40:39.880 Processing End = 2005/10/05 18:40:40.318 Duration = 0000/00/00 00:00:00.437 # Tests Run = 180 # Tests Passed = 180 # Tests Failed = 0 Result = passed KiXGolf Score = 226
KiXGolf Score = 225
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 01:05 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
225... hmm... should we start the public round thread so we can all make fun of each other?
|
maciep
|
(Korg Regular)
|
2005-10-06 01:05 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
Also, for the test script, block comments should be taken into consideration too. At least if @kix>=4.5
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 01:08 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
that's the kixgolf counter udf that is separate from the test script package. and yes, block comment support needs to be added.
|
Lonkero
|
(KiX Master Guru)
|
2005-10-06 01:10 AM
|
|
|
|
|
Re: KiXgolf: Fragmentation
|
|
private coding has ended. for public phase, see: http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=148763
|