Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment computer programs are english (Score 1) 514

All computer languages Ive seen are written in English. I dont usually see an option to download "the French version" of Pascal, although it was obvious named in honor of a French speaker. I often feel sorry for people who do not speak english who want to be programmers. But maybe I am wrong. Maybe there are programs that have translations for native function names like 'for', 'while', 'and' and 'if'.

If you want to write programs for a foreign audience, then learning to code so that your textual output is easily translated is the best bet. This is actually a very difficult problem, but worth working on. Google has a few pages dedicated to this discussion with helpful tips they have learned to assist you. Some things to consider are: 1. sentences and phrases are not ordered in the same way among languages... so if your code breaks sentences into parts for things like links and formatting, then the entire sentence will need to be structured so the variables are inserted in the proper order and location. 2. Punctuation is not the same and may appear in different locations around the text (this includes periods and commas). So even punctuation needs to be variable based on the language. 3. Numbers are expressed differently in order and punctuation. 4. Default units vary among cultures. 5. providing a simple an logical mechanism for determining a default language and allowing users to select the desired language is a tricky problem. good luck with it. 6. If your program is internet based, there are considerations of how to logically divide your pages between languages for search engine parsing. You can use language prefixes on domain or insert a language code into the url or you can rewrite the URL itself to be translated as wikipedia does. There is no standard.

If you are really looking to increase your value as a programmer by allowing your programs to reach a wider audience, then learning make your programs easily translatable is likely the best bet. Because in the end, no matter how fluent you become in a second language, the best international program you write will be the one that is translated by someone who speaks that foreign language as their primary language and English as a second language. Not by you translating it yourself.

English speakers represent about 1 to 1.5 billion people on this planet. Both Chinese and Spanish exceed this. However, economy probably German, French and Italian are more significant. It all depends on the target market. I wouldnt bother trying to figure it out and instead write programs that are easily translated. Then hire someone to translate all the required text and phrases in your program. Then hire native speakers of that language to test and report language issues.

If your are looking to communicate with foreign entities, then I suggest you learn a language that is most economically likely to benefit you. The obvious choices would be German, French, Spanish, Italian or whatever cultures you expect to interact with. Although I dont think this is entirely neccessary because most large companies will have a means of communicating with English speaking entities.

Comment compared to instagram (Score 1) 117

It feels strange when a company with true IP value sells for half the value of a company with no patents. Compared to the Instagram sale to FB for $1 billion. Instagram has no patents... simply a user base following that could leave at any time. Yet Kodak with a physical brand and history sells for so much less.

Comment Re:But the "expert" got it wrong! (Score 1) 238

Also... as an experienced programmer. I will tell you that most of the time, you simply cut and paste the code into a separate window and then run tests on it with different values. I mean you need to understand the logic too, but often times, the fastest solution is to run simulation and tests to be sure your brain isnt missing some logical comparison. I rarely trust my brain to determine whether code is working as expected anymore. You set up sample cases and expected results and then run the sample through the code and compare results. This adds great efficiency to confirmation and speeds up the process of verifying coding changes. Also, it proves the case where the logic has intentionally been changed as the logical changes will be flagged and then the tests can be modified after to match the new logic.

Therefore, correct understanding of the results doesnt matter as much as understanding what the code does. Although the experienced programmer produced incorrect output, understanding of the code process was quicker. A simple execution of the code will show the results do not match wat Eric expected and then a re-reading of the code will show why.

An experienced programmer will know: looking at code is not enough to verify code results. Our brains are not that fast or accurate

Comment Re:But the "expert" got it wrong! (Score 1) 238

Eric the expert did get it wrong. I think the reason is that Eric expected more complexity then was present. What Eric did is use the output of the first two loop as input to the 3rd. Whereas, the sample simply used the inputs of the first and second routine as inputs to the 3rd. This is exactly what happened in my though process as I followed the novices work. I thought she was writting the incorrect values, until I realized that the inputs to the 3rd were the inputs of the 1st and 2nd. I consider myself an experienced programmer, although Im not sure about the definition. Anyhow, perhaps more experience programmers will expect a program to more often build up results based on the processing of a previous step. When I first saw this sample... my immediate instinct was to assume that each loop block would build on the output from the last. That assumptions was incorrect. And that assumption is apparent in the incorrect results produced by the experienced programmer named Eric in the 2nd video.

Comment Re:Ugh (Score 1) 597

...Just because something can be done doesn't mean everyone has the ability. This is one of the worst aspects of the Linux community...

So, you are saying this is not a problem with other operating systems because the user (no matter how experienced) doesnt even have the ability to try? You're saying that a major flaw with open software is that most users dont know how to take advantage of its openess? ok. I guess it is true that an advantage to having a close source operating system is that we dont have to worry any longer that some users may not understand how to modify its source code.

Comment not set in Canada (Score 1) 369

I dont see this setting from Canada. My search settings show "no filtering" option set and selected. Im not sure whether they plan to change this in Canada in the future. But for now, anyone who really wants this type of search should be able to go to the google.ca website and go from there. The link it shows for me is: https://www.google.ca/imghp Google may redirect to ur local country image search from here... not sure. But I think there is a way to tell google to set it to a remote country search, as I sometimes do this to get .com instead of .ca searches.

Comment Im skeptical of the technology (Score 1) 861

I doubt this system works as claimed. The numbers in various articles quote different percentage success rates. And then they say it will only fire when the system determines if the targetted area is populated. Sounds like this is a tactic to inflate success numbers when really it fails to operate. Further, these are largely funded with the help of US funds and yet the US has no information about the technology. What is this? This all just sounds like a PR mechanism designed to garner more funding. Ill believe it when it is tested by multiple countries... until then, Ill remember that there is a war going on and news from the front is often propiganda.

Comment Re:PETA agrees! (Score 1) 409

All three religions belong to the family of Abrahamic religions ( http://en.wikipedia.org/wiki/Abrahamic_religions ) and very high similarities in beliefs, traditions etc.

No. India's major religions are: Hinduism is the majority religion with 80.5% of the population of India. Islam (13.4%), Christianity (2.3%), Sikhism (1.9%), Buddhism (0.8%) and Jainism (0.4%) (http://en.wikipedia.org/wiki/Religion_in_India). Further, from the link u provide: "Abrahamic religions (also Abrahamism) are the monotheistic faiths emphasizing and tracing their common origin to Abraham or recognizing a spiritual tradition identified with him. They are one of the major divisions in comparative religion, along with Indian religions (Dharmic), East Asian religions (Taoic) and Neopaganism." Which means that almost nobody in India believes or cares about Adam and Eve or a single god. So not having read the article itself, but knowing what I know... I call bogus on this article.

Comment Re:so ez (Score 1) 309

driverless cars, uav/ugv swarms, quantum computers, genetic modifications of *, bio-hacks/synthetic biology , graphene graphene everywhere, etc...

The answer is just: "quantum computing". IMO, Period. From what we know it will be able to do unbelievable computations. That is what we know. I expect the result we dont know will be far more useful and exciting. I hope useful quantum computers come online in my lifetime.

I most often here about quantum computing in regard to cyptography. I think this will prove to be a narrow short term usage of it. It will simply be used to unlock some secrets of the past and then we will simply apply a new level of cryptography for the future.

The Internet already provides massive amounts of data waiting to provide us with useful information in weather, health, politics, environment, history, etc etc. The problem is that we are unable to process this information to provide useful conclusions. Or rather we can only process this information in limited ways. Quantum algorithms allowing this data to be processed in linear time could provide surprisingly usable results. I believe quantum computing will provide us with the most unexpected tools of analysis in the future.

I also believe that quantum computing will change our views on privacy. I think once we see the benefits of massive data analysis, society will begin to allow personal information to be easily added to massive data sets in order to better humanity. For example, all our daily activities or movement, usage, health, feelings and observations will be uploaded to "the cloud". The cloud in this case being a massively sharable data set. I think most people will be giving up much of their privacy in order to better the future and understand of ourselves as a whole in real time.

Comment Re:Oblig (Score 1) 267

Of course you forget things. You forget things when you don't use them.

That's an entirely different thing to new things pushing old ones out, which (unless I've forgotten) was the original claim.

Who cares if he is right or wrong on this point. I think we can all agree that there is no way for any single person to understand every single bit of information that is available to be known. And apply this to the reality of a situation at hand. If there was a way to interact with the Internet so that known information can be organized and presented to you on demand in a useful manner based on real word needs... then this interaction would be far more useful then simply stuffing my brain as full as possible.

Slashdot Top Deals

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...