[OT] Ignore or not ignore (was: stable sorting)

new topic     » topic index » view thread      » older message » newer message

Hi Kat,

if you're meaning me, please consider the following.

> As no one replied, and this is tested and working code, i'll re-post it.
> If i am on your ignore list, it won't hurt you anyhow.

I don't have an ignore list. If I had one, it surely would *not* contain
any member of the Eu community, because I'm interested in communicating with
all of you. Especially, I don't have any reason to ignore you, Kat, and
I actually don't ignore you.
Unfortunately, I don't have as much time for programming in Euphoria,
and for communicating on this list, as I would like to have. So sometimes my
replies can take somewhat longer, than you might expect.

> If the game is to reinvent the wheel instead of acknowledging the
> existing code

You know what I wrote (it's also quoted below). I cannot detect there
any trial to reinvent the wheel. I just asked for help, and you exactly
gave me the answer, that I hoped to get. smile

Anyway, I think this is not just a "Question-and-Answer" list.
Of course, I'm happy about any reply. When people tell me some
considerations about sorting, give me hints, post source code, etc
I appreciate it, of course. All that is stuff for my little gray cells,
so they don't become unemployed. blink

> (you said there was none in the archives, but there is),

Nope, I did *not* write that, please read more carefully. That helps to
avoid misunderstandings, and bad feelings.
I wrote (as quoted below, if 'listfilter' doesn't snip it):
"Is there a library in the archive, with which this can be achieved?
 I didn't find one."

I visited  http://www.rapideuphoria.com/archive.htm  and searched for
"stable sorting", then for "sorting"  (IIRC).
This way I really didn't find, what I was looking for. Especially I
didn't find 'strtok'.
I never claimed that I'm perfect in searching the archive, or that I
know the whole contents of it or something like that. And I never said,
there *is* not a library like that. I just said, that I didn't find one.
That is true, and as a human being, I think I'm allowed to be not
perfect.

> then just keep ignoring me.
>
> Kat

I hope I've convinced you, that this is not the case!


> On 25 Feb 2003, at 17:02, Juergen Luethje wrote:
>
>>
>> I wrote:
>>
>>> Subject: Re: Euphoria 2.4 Alpha-test Release!
>>
>> [...]
>>> 5) Documentation of sort():
>>>    Nothing special with version 2.4, I just came across it.
>>>    I think it would be valuable to mention, whether or not the sorting
>>>    of sort() is stable, along with a short explanation for beginners,
>>>    what that means.
>> [...]
>>
>> Probably I should have been somewhat more specific. I actually was
>> thinking more of custom_sort(), than of sort():
>> Say I have a list of records with student names and marks, already
>> sorted by name. Then i want to sort this list by mark, so that students
>> with the same mark remain listed in alphabetical order.
>
> <snip>
>
>> Is there a library in the archive, with which this can be achieved?
>> I didn't find one.
>
> Yes, sorttok(). Several examples of sorting multiple fields at the same time
> are in the readme.html : See:
> http://www.pell.net/warning/ai/strtok-v2-1.html#sorttok

[...]

Best regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |
 \ /  against HTML in       |  Superstition brings bad luck.
  X   e-mail and news,      |
 / \  and unneeded MIME     |

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu