News for hackers. Stuff that matters.
Re:Why Stack Overflow in Portuguese? by zanny on Thursday February 13, 2014 @06:56PM (#7235644)
There is a real brutal grammar nazi trend I've been seeing recently on various sites - apparently, someone gets a buzz of self entitled superiority off of correcting someones grammar mistakes.

Personally? I think English is insanely stupid, inefficient, and dumb. I speak it because I have to, not because I want to, because everyone else does it. If you think trying to get breakout success in a market with, say, a software product is, try thinking of a way to create an "optimal" language (ie, glyphs only trace to possible human vocalization, but it covers the entire range - English doesn't, for example. And your words are a huffman tree - the most popular ones are the shortest, though that can only ever be realized when the language is conceived since the common vernacular shifts over time).

Now try to figure out how to get that market penetration.

Re:Why Stack Overflow in Portuguese? by WildUtah on Thursday February 13, 2014 @09:51PM (#7236560)
"thinking of a way to create an "optimal" language"

The Korean tried inventing an optimal alphabet a few centuries ago and it caught on. [0] Traditional Korean writing (in Chinese characters) has been almost abandoned.

The Korean Hangul alphabet doesn't include all possible sounds but I don't think that's really what you want. All those guttural consonants, tonal vowels, and clicks and snaps and buzzes that are possible add complexity, but the real breadth of words is mostly combinatorial rather than based on having a lot of letters.

[0]http://www.learnkoreanlanguage.com/learn-hangul.html

Re:Why Stack Overflow in Portuguese? by vukmir on Friday February 14, 2014 @06:27AM (#7237984)
Serbs did it too at the beginning of the 19th century and since then (in Serbian) every word is written exactly as it is pronounced.

The rule is: "Write as you speak and read as it is written."[0]

[0] http://en.wikipedia.org/wiki/Serbian_Cyrillic_alphabet

Re:Why Stack Overflow in Portuguese? by einhverfr on Friday February 14, 2014 @06:58AM (#7238053)
I think the problem though is that language is ever-shifting. This leads to insanely stupid grammar nazi arguments over things like "Who does this belong to?" vs "To whom does this belong?" And that argument has been going on for at least a century.

Regarding glyphs you have a number of problems. These include phonetic shifts. So for example, in English we have a word like courtyard. This is a compound word with two components, court (from French) and yard (from Old English). Both of these come from the same PIE root. Now this isn't too bad with court and yard, but let's look phonemes of another sort: what PIE kw- vs gw-. gw- became qu in Old English (hence words like queen), while kw (which becomes qu in the Romance languages) becomes wh (what, where, whorf, whirl). This is still arguably separate from a w sound as most people I know pronounce where slightly differently from wear.

Combine this with the fact that we have lost letters (thorn and eth, primarily) which refer to distinct phonemes which we now use th for.

To come up with an optimal language, I think you'd have to make it fully prescriptive and heavily spec'd out (like computer languages are) but this isn't the way human language works. I suppose someone, probably me, has to point this out, and if you didn't get the subtle jab at discussions of pronoun cases, please re-read this sentence, slowly.

Re:Why Stack Overflow in Portuguese? by gbog on Friday February 14, 2014 @12:38AM (#7237121)
> create an "optimal" language (ie, glyphs only trace to possible human vocalization

There comes Chinese characters, which are exactly the opposite of your definition of "optimal": Chinese characters are not an alphabet, they do not carry phonetics, they carry meaning. And, guess what, this is arguably better.

Why? Because phonetics tend to shift quickly. In a few decennies any spoken language has shifted, vocalisation is different, especially when the language is used by loosely coulped communities. And then you have to adapt spelling to new pronunciations. But what do you do with old books? And how do you keep the language united? Chinese characters, by allowing different pronunciations without changing their written form, do fix this issue. This has helped China to stay centralized for a long time, and share one common continuous cultural ground.

So, if optimal means "can be shared by more people for a longer period of time" maybe the optimal language would need to add an articulation, and represent meanings instead of sounds.

Re:Why Stack Overflow in Portuguese? by lunchbox on Friday February 14, 2014 @01:52AM (#7237317)
> Chinese characters are not an alphabet, they do not carry phonetics, they carry meaning. And, guess what, this is arguably better. Why? Because phonetics tend to shift quickly.

But I would think (and remember reading somewhere) that phonetics shift more quickly where there is no written record of the pronunciation. Chinese has dozens of mutually unintelligible dialects (Mandarin, Wu, Cantonese, Hakka, etc.). Maybe this fragmentation would be much less if they had a phonetic writing system in the first place.

> In a few decennies any spoken language has shifted, vocalisation is different, especially when the language is used by loosely coulped communities. And then you have to adapt spelling to new pronunciations. But what do you do with old books? And how do you keep the language united?

English (or Spanish, etc) is a real-world example of a mostly phonetic writing system, and I don't think it is that bad. We can still read old texts, even though our pronunciation of the words has changed vastly. If you go back far enough (e.g. to the time of Chaucer in the 1300s), it becomes hard to understand what is being said, but practically speaking I don't see this as a big problem. In contrast, I think it's very important to have a writing system that is easily learned, so that it is accessible to the entire population (not just those able to invest lots of time & effort).

Re:Why Stack Overflow in Portuguese? by ithkuil on Friday February 14, 2014 @05:01AM (#7237748)
> If you go back far enough (e.g. to the time of Chaucer in the 1300s), it becomes hard to understand what is being said

That's because at that time they still wrote phonetically. Today the spelling of some languages, like English especially, is fixed and immutable yet the pronunciation diverges.

Think about equATION and pronunciATION (or any other word ending in -ation that has "ʒ" instead of "ʃ").

There is also the reverse effect. Spelling influences pronunciation. Especially the sounds of single vowels (a,e,i,o,u), their sound being used frequently when spelling, becomes a guide to pronounce unfamiliar words, making words like "fungae" sounds nothing like what the latin word used to be (and how it was probably pronounced by english speaking educated people in the middle ages).

That said, even a crippled phonetic alphabet is certainly easier to learn than ideograms. However English is at the worst end of the spectrum. Japanese syllabic writing systems (hiragana and katakana) are much easier to write even if they have a few more glyphs. Unfortunately, even if you master -kana scripts, and thus able to write everything you want in Japanese, you'd be cut off from mainstream culture, including newspapers street signs etc

Re:Why Stack Overflow in Portuguese? by einhverfr on Friday February 14, 2014 @07:06AM (#7238078)
> But I would think (and remember reading somewhere) that phonetics shift more quickly where there is no written record of the pronunciation. Chinese has dozens of mutually unintelligible dialects (Mandarin, Wu, Cantonese, Hakka, etc.). Maybe this fragmentation would be much less if they had a phonetic writing system in the first place.

This is why Latin, which had such an alphabet, didn't split into mutually unintelligible dialects like Romanian, Spanish, and French, right?

> We can still read old texts, even though our pronunciation of the words has changed vastly. If you go back far enough (e.g. to the time of Chaucer in the 1300s), it becomes hard to understand what is being said, but practically speaking I don't see this as a big problem.

But this wouldn't be the case if we wrote English phonetically today.

For example, Sir Gawain and the Green Knight (http://quod.lib.umich.edu/c/cme/Gawain?rgn=main;view=fulltex...) is one of my favorite pieces of Middle English literature, and exactly contemporary to Chaucer. It's hard enough to read without some knowledge of Middle English but you'd be totally lost if we wrote nait instead of knight.

Re:Why Stack Overflow in Portuguese? by foldr on Friday February 14, 2014 @05:15PM (#7241387)
>Chinese has dozens of mutually unintelligible dialects (Mandarin, Wu, Cantonese, Hakka, etc.).

The different "dialects" are really different languages altogether (certainly as different as the various Romance languages, for example). It seems unlikely that a country as vast and diverse as China would have become monolingual just if they'd used a different writing system.

Re:Why Stack Overflow in Portuguese? by gbog on Friday February 14, 2014 @03:54AM (#7237589)
> mutually unintelligible dialects (Mandarin, Wu, Cantonese, Hakka, etc.)

But the trick is that when written on paper these dialects are mostly mutally intelligible.

Re:Why Stack Overflow in Portuguese? by mehmetemre on Friday February 14, 2014 @04:53AM (#7237726)
Chinese is an isolating language, so it doesn't have affixes, conjugation etc. so they can use that kind of writing system.

In the other hand, English and lots of other languages (including my native language Turkish) are synthetic languages, so they have affixes, and they do not adapt well to logographic writing systems (class of Chinese characters) in my opinion (I am not an expert on linguistics). My reasoning is not the cognitive overhead that's caused by memorizing tons of characters, but overhead of encoding/decoding the affixes into that type of writing system.

Japanese is an interesting example in this case, it is a synthetic language and has conjugation etc. so Japanese people use Kanji (Chinese characters as used by Japanese) to write word root and Hiragana to write conjugation, function words, spelling etc.

Re:Why Stack Overflow in Portuguese? by userulluipeste on Friday February 14, 2014 @01:34PM (#7240117)
"My reasoning is not the cognitive overhead that's caused by memorizing tons of characters, but overhead of encoding/decoding the affixes into that type of writing system."

But that need to memorize IS a cognitive overhead that is hard to dismiss. The Japanese have to learn thousands of Kanji from their early years (of elementary school) till well into high-school! And I would say that the encoding/decoding is actually an overhead only until it gets automatized in subconscious mind.

Re:Why Stack Overflow in Portuguese? by emiliobumachar on Friday February 14, 2014 @04:05AM (#7237615)
I do not speak any language with that writing paradigm, but I can think of one big disadvantage: it's different memory efforts to learn a word's written and spoken forms.

In languages where letters are mapped to sounds, even after phonetics changed a bunch, the written and spoken forms are huge cues to each other. (There are exceptions).

If a new word came to be in English and it was written, for example, "scaramara", two fluent speakers who only saw it in writing would probably guess similar pronunciations for it, to the point that one would understand the other's speech. I suppose something like that could not happen in Chinese. Is this assumption correct?

Re:Why Stack Overflow in Portuguese? by gbog on Friday February 14, 2014 @10:23AM (#7238975)
I have learnt Chinese and use it for work. Chinese characters have a personality of their own, you don't need to know the sound to remember them. You could even read perfectly Chinese and being unable to communicate orally. This very hard to understand or even believe when not experienced for real.

So yes, learning Chinese or Kanji has a steeper learning curve, but no, it is not that hard, and in fact from context and shape you can guess a possible pronunciation and meaning for unknown characters, sometime.

Re:Why Stack Overflow in Portuguese? by sampo on Friday February 14, 2014 @06:14AM (#7237951)
> it's different memory efforts to learn a word's written and spoken forms

I've always felt that I need to memorize both the written and spoken forms, when I study English.

Re:Why Stack Overflow in Portuguese? by lmm on Friday February 14, 2014 @11:57AM (#7239483)
I've heard that Mandarin is the only language many people regret having learned.
Re:Why Stack Overflow in Portuguese? by rev087 on Friday February 14, 2014 @04:24AM (#7237650)
It's interesting to think of the benefits a modern constructed language and script could bring, but a way to foster adoption would be a very difficult task. Esperanto has a lot of speakers world wide, but hardly in significant proportions.

Another interesting case is the Cherokee syllabary:

> Once Albert Gallatin saw a copy of Sequoyah's syllabary, he found the syllabary superior to the English alphabet. Even though the Cherokee student must learn 85 characters instead of 26, he can read immediately. The student could accomplish in a few weeks what students of English writing could learn in two years.

http://en.wikipedia.org/wiki/Sequoyah

Re:Why Stack Overflow in Portuguese? by vacri on Thursday February 13, 2014 @08:52PM (#7236328)
Having seen the grammar wars at the turn of the century, there is nothing like it going on at the moment. Modern day grammar nazis are just another part of general trolling, nothing particularly brutal going on.
Re:Why Stack Overflow in Portuguese? by kudu on Thursday February 13, 2014 @10:11PM (#7236635)
I wouldn't say Esperanto is 100% optimal, but it was created from scratch by linguists.

https://en.wikipedia.org/wiki/Esperanto

Re:Why Stack Overflow in Portuguese? by ngpio on Friday February 14, 2014 @12:53AM (#7237156)
When I think "optimal language", I don't think "optimal combination of natural languages". This is partly because I've been experimenting with constructed languages (conlangs) since the age of eight and partly because my ethical and aesthetic desires lead me to different (or at least more elaborated) goals than "better communication between the peoples of the world as they exist today".

There are many conlangs for various purposes. Esperanto and Interlingua are useful for facilitating communication between people, acting as geography-blind APIs. Lojban is useful for communication between humans and computers, as well as fostering a strict logical mindset similar to the effects of working with programming languages, mathematics or symbolic logic. Klingon, Elvish and many other languages of various semantic/syntactic comprehensiveness are created for aesthetic and/or fictional purposes.

I've been working through a new conlang idea in my head the past few days. It builds off of Lojban in that its tenets are (1) universality, and (2) ease of I/O by both humans and machines. But it adds onto that (3) an easy-to-use, potentially unconscious system of real-time abstraction.

We do this to some extent with all human-human communication, when we inflect or affect or twitch or sigh or use other non-verbal linguistic cues to impart semantic value onto entire complex utterances. The way that a hyperlink imparts the contents of its destination onto the meaning of the information between its opening and closing tags.

This could be significantly sped up through use of more standardized multi-sensory linguistic components, either attached directly to individual people or attached as a metadata layer readable by nearby people through an AR technology of some sort (glasses are the obvious choice, but let's not limit ourselves).

For instance, a speaker could say the word "lu" multiple times in the same monologue. Those around the speaker would grok the intended meaning of "lu" each time due to whatever technological cues were broadcast along with it. The cues could be a string of words on a HUD or a color tinting the image of the speaker or a soft harmony in the listener's ear or a distinct pattern of buzzes from piezo elements in an ankle bracelet or even direct electrical stimulus causing a particular mental state.

I'm getting ahead of myself.

The point is that this is the sort of thing I imagine "language optimization" to be. And this example is just scratching the surface of potential optimizations, because any optimization that allows for general abstraction opens up all the doors of Turing completeness.

Esperanto and Interlingua are patches. They are certainly useful for some things[1], but we can't know what they're optimal for unless we're also experimenting with entirely new systems not based solely on natural languages. We need to be able to treat real-time language as scripting — anything less and we'll be limited by the language rather than by our cognition.

[1] Try reading this wikipedia page. Note how your reading speed increases exponentially as you go down the page: https://ia.wikipedia.org/wiki/Interlingua

Re:Why Stack Overflow in Portuguese? by Debilski on Friday February 14, 2014 @06:53AM (#7238043)
Arguably, Esperanto was created by one hobby linguist about 125 years before today’s linguistic research, so I would not stress that too much.
Re:Why Stack Overflow in Portuguese? by christianmann on Friday February 14, 2014 @12:34AM (#7237112)
> And your words are a huffman tree - the most popular ones are the shortest

Problem with that is that it leaves very little room for error detection in the language -- everything is a valid statement.

Re:Why Stack Overflow in Portuguese? by dimitar on Saturday February 15, 2014 @01:42PM (#7244747)
You may try to use IPA for English.