Jump to content

Talk:Code

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Add Spanish article link

[edit]

https://es.wikipedia.org/wiki/Código_(comunicación) — Preceding unsigned comment added by 190.1.47.224 (talk) 19:30, 5 October 2016 (UTC)[reply]

Code meaning Algorithm

[edit]

I like the rewrite--the earlier stuff that made a big deal about codes being only symbolic->semantic is far more specialized than the ordinary English usage of the word, and belongs in an article of its own right, perhaps something related to information theory. Please don't place domain-specific stuff like that in articles whose titles are simple words--it implies that the field-specific meaning is the general one.

I also removed a reference that implied that the word "code" could mean "algorithm"; I've never seen this use in my 20 years of programming. "Code" always refers to the actual instruction text, not what it represents. --LDC —Preceding undated comment added 22:02, 17 December 2001 (UTC).[reply]

I don't understand what this sentence was trying to say:
The sense of code referring to the program itself is still sometimes encountered, e.g., "Fortran codes".
This usage is the "source code" usage already described. —Preceding unsigned comment added by Lee Daniel Crocker (talkcontribs) 23:16, 17 December 2001 (UTC)[reply]
It's the difference between "have you got any code that does foo" vs "have you got a code that does foo".
True, not very significant and probably better left here in Talk to avoid confusion. —Preceding unsigned comment added by Hagedis (talkcontribs) 01:00, 18 December 2001 (UTC)[reply]
I've never heard that second usage ("a code..."), and I've been programming for about 20 years. Maybe it's specific to a certain subset of programmers. --LDC —Preceding undated comment added 01:07, 18 December 2001 (UTC).
I've only noticed it with a few Fortran numerical programmers. —Preceding unsigned comment added by Hagedis (talkcontribs) 01:37, 18 December 2001 (UTC)[reply]


Morse code

[edit]

When there are clearly two or more people actively working on a page, it is a good idea to justify your changes here in the Talk page. Why remove the 5-letter Morse code groups; they are a good example of the "data compression" use of codes which is not otherwise covered here. I'm putting them back, but with a better explanation of that fact, unless you can give me a good reason not to. --LDC —Preceding undated comment added 22:15, 17 December 2001 (UTC).

They are extemely obscure. I can't find independent reference to it. they belong more logically in morse code, it seems to me. —Preceding unsigned comment added by Hagedis (talkcontribs) 22:18, 17 December 2001 (UTC)[reply]
I had learned the Morse code in school 41.116.214.197 (talk) 14:50, 6 January 2024 (UTC)[reply]
Yes, they do fit better over there; if you can find another good example of the use of codes for brevity (perhaps something like the restaurant codes?), then feel free to replace it, but I think the article needs something on that. --LDC —Preceding undated comment added 22:20, 17 December 2001 (UTC).


Code of honour

[edit]

I put the code-of-honour etc., definition at the top, since I think it emphasises the basic meaning of the word, which is also behind most of the other definitions. This may be slightly obscured to people who live with the technical usage. —Preceding unsigned comment added by Hagedis (talkcontribs) 23:08, 17 December 2001 (UTC)[reply]

I certainly agree that we techies can't always be counted on to know the general public perception of a word when there's a technical use. Is law code really the central concept here?
My own perception is that "symbolic substitution" is the central concept, and that laws became "codified" (i.e., arranged in organized codes) after-the-fact, by creating a set of symbols for them (numbers and so on). But maybe law codes really did come first.
I'd like to see what OED says on the matter. --LDC —Preceding undated comment added 23:13, 17 December 2001 (UTC).

Code and Cipher

[edit]

I clarified the difference between code and cipher - the most common use is to call it encipher/encrypt if you have secrecy in mind and encode if you don't. I have never seen the ASCII-code called cipher and it is not common practice anymore to distinguish it by word/phrase or byte-level encoding.

I also added references to data compression and error correction.

LDC: If you want to put back the Morse code examples - IMHO it is more appropriate on a Morse code article. -- Rochus —Preceding unsigned comment added by Rochus (talkcontribs) 18:36, 22 January 2003 (UTC)[reply]

FYI today: the Morse Code graphic is still here. I like it! It is famous. -- AstroU (talk) 22:04, 8 May 2014 (UTC)[reply]

Marked for cleanup

[edit]

There are so many definitions on this relatively long page, its confusing to sift through them, so I listed it on cleanup. Maybe a disambiguation page should be made, and then new pages for the rather long meanings. siroχo 04:12, Jul 6, 2004 (UTC)

Merge with "coding theory" ?

[edit]

Suggest this article should be merged with coding theory. Both cover much the same territory, and both could use some beefing up.

That article goes into rather more detail, but it may be better devolved down to data compression and error correction.

-- Jheald 21:21, 5 March 2007 (UTC).[reply]

The idea of codes as covered in this article has rather little in common with coding theory. I can consider this proposal dead for lack of support, and will remove the tag. Dicklyon 00:59, 20 April 2007 (UTC)[reply]
I agree that the article has little in common with coding theory. Rather, I think the sections related to coding theory (Variable length codes, Block codes, Error correcting codes) are not suitable for a general article on codes and should be merged with the article on Coding theory, or deleted in case this article does not contain any additional information. Isheden (talk) 15:33, 9 July 2010 (UTC)[reply]

Merge from Encoding

[edit]

The article on encoding is a list of bullet points which talks about encoding in different domains. Even if the article is expanded to full paragraphs with each covering a domain, the subject of encoding in any domain will be no different from what the domain's code stands for, which the code article attempts to cover. Jay (talk) 13:29, 18 March 2010 (UTC)[reply]

I agree, and also think the decoding "article" should be merged into this one as well. -- Schapel (talk) 20:46, 3 June 2010 (UTC)[reply]

Language

[edit]

Why isn't natural language among the examples? To me it's the first and foremost code as I use it rather frequently. AFAIK, in German linguistics "code" is a common term for language. This might be different in English but the definition at the beginning of the article still clearly includes natural language. --Mudd1 (talk) 12:07, 27 May 2010 (UTC)[reply]


Code

[edit]

I am not happy with the definition in the front myself.

A code is a rule for converting a piece of information (for example, a letter, word, phrase, or gesture) into another form or representation (one sign into another sign), not necessarily of the same type.

Number 1 - the rule is not defined, neither is the act of converting - what is converted to what, because you do not convert either of them. No. 2. All you do is to pair or to match them in a table the elements of which are sorted to make them become a code.

We should start from objects, a group of unsorted objects, such as a set. This set does not mean anything for the person when he examines the properties of the elements of the set one by one, by comparing them as a result of which he can sort them in an order by identifying/judging one and the same property of each member. As a result, you will get an ordered list sorted on that property with the objects associated with the properties serving as a code (code table) for either the property or the object so related and now sorted to become a code - where a one-to-one correspondence of the property and each member (object) is that turns or makes the set a code.

Genezistan (talk) 12:51, 25 November 2010 (UTC)[reply]

ERR_NOT_PLACED — Preceding unsigned comment added by 95.77.148.210 (talk) 09:24, 24 November 2013 (UTC)[reply]

Current new News

[edit]

Headline-1: Mysterious 150-year-old writing in rare copy of Homer's 'Odyssey' identified

QUOTE: "Italian software engineer wins contest that generates worldwide response" -- AstroU (talk) 22:08, 8 May 2014 (UTC) -- PS:FYI for future editing.[reply]

Headline-2: Computer Engineer Cracks 150-Year-Old 'Odyssey' Code

QUOTE: "Leave it to an Italian computer engineer to crack a 150-year-old, handwritten code." -- AstroU (talk) 22:12, 8 May 2014 (UTC) -- PS:FYI for future editing.[reply]

The code-breaker in Italy says he will continue and try to figure out the identity of the ancient code writer. -- Narnia.Gate7 (talk) 23:18, 8 May 2014 (UTC)[reply]

Character encoding

[edit]

I cleaned up the odd stuff in the section on character encoding a bit (https://en.wikipedia.org/w/index.php?title=Code&type=revision&diff=838616203&oldid=837667159) but I suspect it is too long now. Perhaps someone with a better idea of how to focus this article could have crack at reining it in. To be honest I’m not sure this page makes a ton of sense (a lot of disparate concepts?) so I don’t know how detailed an individual section ought to be. 2601:182:C680:CCC:E93E:6EB7:9017:DC7C (talk) 04:56, 28 April 2018 (UTC)[reply]

On reflection, viewing it in context again, I understand better why it was focused on ASCII: it was intended as an "example of the example". Perhaps it should be reverted? :/ 2601:182:C680:CCC:E93E:6EB7:9017:DC7C (talk) 05:03, 28 April 2018 (UTC)[reply]

Edit Request 28 March 2022

[edit]

A character encoding provides a key to unlock (ie. crack) the code. It is a set of mappings between the bytes in the computer and the characters in the character set. Without the key, the data looks like garbage. Mscode054 (talk) 20:07, 28 March 2022 (UTC)[1][reply]

 Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. Happy Editing--IAmChaos 03:42, 29 March 2022 (UTC)[reply]

References

Semi-protected edit request on 29 March 2022

[edit]

Change "Character encodings are representations of textual data." to "A character encoding provides a key to unlock (ie. crack) the code. It is a set of mappings between the bytes in the computer and the characters in the character set. Without the key, the data looks like garbage." [1] Mscode054 (talk) 19:49, 29 March 2022 (UTC)[reply]

 Not done: That would be a direct copyright violation. ScottishFinnishRadish (talk) 19:54, 29 March 2022 (UTC)[reply]

Semi-protected edit request on 1 October 2024

[edit]

Typo in the third paragraph of Theory section: please change "A code is..." to "A code is...". LD020724 (talk) 14:50, 1 October 2024 (UTC)[reply]

This seems correct to me, or at least consistent with the verbal description of "a total function mapping each symbol from S to a sequence of symbols over T." The domain of the function would therefore be the set of individual symbols (), not sequences of symbols (). Do you dispute that verbal description? Anon126 (notify me of responses! / talk / contribs) 23:06, 3 October 2024 (UTC)[reply]

Semi-protected edit request on 28 November 2024

[edit]

The Gödel code subsection contains a paragraph referring to it in past tense, despite the code still existing. e.g. "a Gödel code was the basis for the proof...", "the idea was to map mathematical notation to a natural number..." Chapel1337 (talk) 00:32, 28 November 2024 (UTC)[reply]

 Done Ultraodan (talk) 11:57, 26 December 2024 (UTC)[reply]