Page 4 of 8 « First<23456>Last »
Topic Options
#172053 - 2006-12-26 11:24 PM Re: KiXgolf: Human Sort [Re: Benny69]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, I just added after test7 this section:

[edit]
test8 removed


Edited by Jooel (2006-12-27 12:20 AM)

Top
#172054 - 2006-12-26 11:30 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne

ok, good to go and have knocked off a few stroks.

Code:
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_humansort.kix

Computer
OS               = Windows XP Professional
CPU              =               Intel(R) Pentium(R) D CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 2048 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 16:28:17.674
Processing End   = 2006/12/26 16:28:17.862
Duration         = 0000/00/00 00:00:00.188
# Tests Run      = 8
# Tests Passed   = 8
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 549

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172056 - 2006-12-26 11:33 PM Re: KiXgolf: Human Sort [Re: Benny69]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
benny, instead of posting with the code-tags, could you use the html pre-tags instead?
this way the whole result shows...
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/27 00:32:03.346
Processing End = 2006/12/27 00:32:03.627
Duration = 0000/00/00 00:00:00.280
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 581
_________________________
!

download KiXnet

Top
#172057 - 2006-12-26 11:36 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
sure, will do.
is there a way you could fix the long line in your added test?
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172058 - 2006-12-26 11:39 PM Re: KiXgolf: Human Sort [Re: Benny69]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
After much frustration, i think i finally got it working - i'll have to try that 8th test case though just to be sure

Quote:

KiXtart
KiXtart Version = 4.22
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium Model 14
Speed = 1995 MHz
Memory = 1022 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 17:34:19.292
Processing End = 2006/12/26 17:34:19.401
Duration = 0000/00/00 00:00:00.108
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 418


Passed test 8 too...


Edited by maciep (2006-12-26 11:42 PM)

Top
#172059 - 2006-12-26 11:44 PM Re: KiXgolf: Human Sort [Re: maciep]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Call the police! There are long lines posted.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#172060 - 2006-12-27 12:07 AM Re: KiXgolf: Human Sort [Re: Les]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Ok, I give up, I just can't seem to grasp how to handle the entries that have a Numeric value at the end of them.

Any tips anyone
_________________________
Today is the tomorrow you worried about yesterday.

Top
#172061 - 2006-12-27 12:18 AM Re: KiXgolf: Human Sort [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
trying to post again.
can't read the thread no more for some odd reason, but asked doc to remove the longliner.
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/27 01:17:18.505
Processing End = 2006/12/27 01:17:18.818
Duration = 0000/00/00 00:00:00.313
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 539
_________________________
!

download KiXnet

Top
#172062 - 2006-12-27 12:22 AM Re: KiXgolf: Human Sort [Re: Lonkero]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
KiXtart
KiXtart Version = 4.22
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium Model 14
Speed = 1995 MHz
Memory = 1022 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 18:20:05.868
Processing End = 2006/12/26 18:20:06.005
Duration = 0000/00/00 00:00:00.137
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 389
_________________________
Eric

Top
#172064 - 2006-12-27 12:30 AM Re: KiXgolf: Human Sort [Re: maciep]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
As I said before there is a solution to this which absolutely doesn't care about the lenght/size of numeric values. All that's required is a careful reading of the rules (they contain a hint to the solution) and some creative thinking as to how one can represent numeric values in such a fashion that they can be sorted properly.

I don't have access to FTP right now (I'm at my in-laws on my company computer and FTP password is on my home computer) but I'll see whether I can attach a new .INI file with a large number test. Might take me a while though to get there, sneaking in minutes here and there to check on the KiXgolf progress.
_________________________
There are two types of vessels, submarines and targets.

Top
#172066 - 2006-12-27 01:02 AM Re: KiXgolf: Human Sort [Re: Sealeopard]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
ok, doing some hacking...421

KiXtart Version = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) D CPU 2.80GHz
Speed = 2793 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 17:59:22.456
Processing End = 2006/12/26 17:59:22.503
Duration = 0000/00/00 00:00:00.046
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 421

Thank you for participating in KiXgolf!
Press any key to continue...


Edited by Benny69 (2006-12-27 01:04 AM)
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172067 - 2006-12-27 01:23 AM Re: KiXgolf: Human Sort [Re: Benny69]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Jens,
I am curious how many strokes your original solution was?
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172068 - 2006-12-27 02:43 AM Re: KiXgolf: Human Sort [Re: Benny69]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne

393

KiXtart Version = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) D CPU 2.80GHz
Speed = 2793 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 19:42:31.924
Processing End = 2006/12/26 19:42:31.987
Duration = 0000/00/00 00:00:00.062
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 393

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172069 - 2006-12-27 03:15 AM Re: KiXgolf: Human Sort [Re: Benny69]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
I think these 8 tests should stop - they show collaboration to some degree which is not allowed.

Testing like that may be okay, but don't think you should be posting as they are not official tests.

Top
#172070 - 2006-12-27 03:21 AM Re: KiXgolf: Human Sort [Re: NTDOC]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne

ok, back to seven tests,...

KiXtart Version = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) D CPU 2.80GHz
Speed = 2793 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 20:20:09.393
Processing End = 2006/12/26 20:20:09.440
Duration = 0000/00/00 00:00:00.047
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 393

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172071 - 2006-12-27 09:25 AM Re: KiXgolf: Human Sort [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doc, you also think that if the official testsuite passes, then the code is passed for good.
well, we don't live in perfect world.
the 8test is community help to provide a testcase that will help originally passed code to be improved to the degree that it will also pass after real testing.
_________________________
!

download KiXnet

Top
#172072 - 2006-12-27 09:31 AM Re: KiXgolf: Human Sort [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
I don't disagree that that is not a NOBLE idea, but only that you are reaching for something that I don't think was requested and might confuse new coders.

Typically once this phase of coding is done and moves into public coding is then where it expands.

If I downloaded and worked on the code all week and was not paying attention to every post and then came back and read a couple of the last posts I'd be confused and perhaps dissuaded from playing as it would look like the rules or something had changed while I was gone.

This is not a production script code challenge where it needs enhancement is how I view it, and you appear to be enhancing it is all.

Hey, I'm not the judge of it though and Jens started it. If you guys are all fine with it then by all means continue on.

Top
#172080 - 2006-12-27 04:27 PM Re: KiXgolf: Human Sort - Ok Maciep I know you have been waiting for me,... [Re: maciep]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne

Ok, Maciep your turn,... 361

KiXtart Version = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) D CPU 3.20GHz
Speed = 3200 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/27 09:15:05.631
Processing End = 2006/12/27 09:15:05.662
Duration = 0000/00/00 00:00:00.030
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 361

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172096 - 2006-12-28 01:13 AM Re: KiXgolf: Human Sort - Ok Maciep I know you have been waiting for me,... [Re: Benny69]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Here I come...

KiXtart
KiXtart Version = 4.22
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium Model 14
Speed = 1995 MHz
Memory = 1022 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/27 19:11:06.218
Processing End = 2006/12/27 19:11:06.311
Duration = 0000/00/00 00:00:00.093
# Tests Run = 8
# Tests Passed = 8
# Tests Failed = 0
Result = passed
KiXGolf Score = 362
_________________________
Eric

Top
#172097 - 2006-12-28 01:33 AM Re: KiXgolf: Human Sort - Ok Maciep I know you have been waiting for me,... [Re: maciep]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
KiXGolf Score = 356
_________________________
Eric

Top
Page 4 of 8 « First<23456>Last »


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.043 seconds in which 0.013 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org