ChooseMediaPlayer v1.53 *

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Very nice, I'll tell the user who asked for it!

Thanks! :)

Icfu
This account is for sale
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

TC2MP wrote:I added 'AppendPosition' option to the CMP.

0 : Append files to the end of playlist
1 : Append files at the front of playlist
The word "append" means "to add or attach to the very end".
To append to the front is nonsensical.
Say "prepend" if you mean "to prefix or add to the beginning". :wink:
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

SQUIRE wrote:To append to the front is nonsensical.
Say "prepend" if you mean "to prefix or add to the beginning". :wink:
The word you search is INSERT.
Hoecker sie sind raus!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

"Inserting" means "adding in between", very ambiguous...

"Prepending" is slang, 1337 and unambiguous, fits perfectly.

Icfu
This account is for sale
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

2 Sir_SiLvA:

No.

To "insert" is "to put or introduce into something", normally BETWEEN two things. You could say 'insert before' or 'insert after' but that does not connote that the thing you inserted becomes absolutely the head or tail of the list. It's ambiguous, as icfu says.

OTOH, prepending definitely implies attaching to the very beginning with nothing ahead of it, and appending to the very end, with nothing after it. Subtle difference.

"Prepend" is actually quite a newish word dreamed up when computers came along. You'd think that there would be a corresponding word "postpend" - but there isn't, AFAIK. :wink:
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

Good comments! I will fix my wrong word next time.

When I added 'Append' function first, CMP appended files to the end of playlist. But I changed the order for new files to come at the beginning of playlist.

And I changed the method for you to choose the order.. But the problem is.. I failed to notice the meaning of 'Append'.

Ok. 'Prepend' is good.. But there isn't the word 'Prepend' in my dictionary.. I think 'Prepend' is a newish word as you say..
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

Get Radio? Sure! - the best Internet Radio Player ever! ;)
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

Thanks, Leif

I found the word 'Prefix' from the commentary..

So.. 'Prepend' is good, And 'Prefix' is better.

I guess that following sentences are good enough for understanding.

1) New files are prefixed to the playlist.

2) New files are added to the beginning of the playlist.

And Thanks for all of you for good comments. Fluent English is a distant mountain to me.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

TC2MP,
Prepend is better than Prefix. Prefix has a very different meaning.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

It's in the Wiktionary, so it must be right:
http://en.wiktionary.org/wiki/prepend

;)

A really good reason for why "prepend" is right you can find here:
http://www.hacker-dictionary.com/terms/prepend

Icfu
This account is for sale
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

Hi TC2MP,

As Hacker correctly points out - it's a question of scale. Attaching a small number of characters? Then prefix/suffix are the right terms to use. Anything more, like a list of files, then prepend/append are what you need.

For example, you wouldn't 'suffix' a file list to the end of an item - you would append it.

Hope that makes some sense.

Another word you could use is 'affix' which means 'to attach'. But then you would have to qualify it by saying 'affix to the beginning' and 'affix to the end' which means using 4 words when just 1 would have done the job.

Let's avoid discussing 'postfix'! :lol:
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

Mmm.. very difficult only for me.

I think it's right 'Prefix' is usually used mainly with characters and other serial data flow..

Ok.. my conclusion is..

'Prepend' would be best! Thanks for Hacker and SQUIRE

I will reflect it into CMP next time of upgrade. Thanks.

P.S.)
The reason I use 'prefix' than 'prepend' above is.. some non-English speaking users may not realize the meaning of 'prepend', because it's a newish word.

But I think now that users using Total Commander and CMP will accept the word 'Prepend' naturally, because they are skillful users in Computer world.

And I think it's good idea to use slash - a-ppend, pre-pend.. Is it suitable?
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

It has nothing to do with scale at all...

Prefixing means "adding in front of something and change the meaning of that something".
Prepending means "adding in front of something and keep the meaning of that something intact".

Example:
If you "prefix" a line of code with a semicolon, you want to express that the interpreter does NOT execute the command after the semicolon. The semicolon changes the meaning of that line.

If you instead "prepend" a semicolon to a line of code, you want to express that the interpreter doesn't care about semicolons and executes nevertheless.

So, "prepending" emphasizes the subject (the filenames to add) while "prefixing" emphasizes the objects (the already existing filenames).
And I think it's good idea to use slash - a-ppend, pre-pend.. Is it suitable?
Nope, the word is "prepend". You mean a hyphen, not slash. ;)

Icfu
This account is for sale
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

icfu wrote:Prefixing means "adding in front of something and change the meaning of that something".
Prepending means "adding in front of something and keep the meaning of that something intact".
I really like those definitions! Very nice, clean and logical and much better than using scale as a criterion. Digging a bit deeper, it seems the word 'prepend' existed in 1568, but had a completely different meaning from the one we know today. So we can't even say it's new at all even though its meaning is new.
TC2MP wrote:And I think it's good idea to use slash - a-ppend, pre-pend.. Is it suitable?
You won't find pre-pend spelt that way in a dictionary nowadays.

As for append, it's never been spelt ap-pend.

Best stick to the single word to avoid causing confusion!
User avatar
TC2MP
Junior Member
Junior Member
Posts: 17
Joined: 2006-08-09, 13:46 UTC

Post by *TC2MP »

Ok. Thanks for all your opinions.. English is difficult.

My mistake!
- hyphen
/ slash

It may be very funny to other people.
Post Reply