In a system which requires use of multiple languages, what are the best practises to ensure a loosely-coupled architecture when code is calling another language's code?
I am converting a PHP MySQL web application written for English language into a Multi-Language site. Do you know any vulnerabilities that affect web applications in another language? Or perhaps vulnerabilities that could be introduced in the conversion of code base to support multiple languages. (If you know any vulnerabilities of this type in another language I'll give you a +1)
Hey,
I'm a freelance web developer. I'm borred of my hometown, so I want to hit the road. Do you know any shared hacker houses in Europe? Do you have any ideas what is the best way to look for a shared flat? France, Spain, Holland, Italy... I'm interested in virtually any country :)
P.S. I speak English and Lithuanian only, so it's hard to look up shared flat in local languages...
How can I list all possible values of a floating-point data type? I can do this using a union in C or C++ but will that be portable?
How can this be done in other languages? Javascript?
Let's just assume I am using this iteration to map theta to sin(theta).
I am programming in Ruby and have wanted to learn about matrices but I can't find any resources for actually learning about them. Are there any good tutorials on matrices and programming? It would be nice if it would be in ruby but other languages are fine too.
What is the technical difference between a process and a thread? I get the feeling a word like 'process' is over used and there is also hardware and software threads. How about light-weight processes in languages like Erlang? Is there a definitive reason to use one term over the other?
I am trying to translate some of the phrases of my website into various languages. so, in my database, I have a table with rows of
ID//text//dest_language//text_in_dest_language
At the moment, I retreive each translation one by one:
get text_in_dest_language where text="Hello World" and dest_languge="zh"
This results in 40-50 db calls per page, which, on the app engine, is rather slow.
What can I do to mitigate this slowdown?
I would like a php framework that:
Is simple and lightweight
It work in shared hosting (free hosting)
I'll be nice if it saves the preferred language using cookies (not necessary)
I'll be nicer if it detects user's preferred language from the browser (not necessary)
I want to build a page that displays 3 different languages. I came out with a mini localization framework but I think is kinda buggy.
Any suggestions?
Hi is there a free avaible translation backend with database avaible which can handle multiple users(no login needed), multiple languages (UTF-8) and provides automatic google translation?
I just need this tool to fill a database (preferable mysql) with simple tables like this:
language | label | text
english | _helloworld | Hello World!
german | _helloworld | Hallo Welt!
I don't care about export since this will have to be created anyways..
Thanks it would be a real timesaver if something with an usable UI exists already.
which database should I use, if my application is going to be in multiple languages (including Chinese, Japanese etc)? In other words, is MySQL better or worse than Postgres to handle unicode etc? (these are the only two databases my hosting company has)
Also, which language is better for handling unicode? PHP or Ruby/Rails?
I want to write a MyGeneration Template File in F#. I know you can target various languages etc VB.NET and C# however for my own selfish benefit I would like to write it in F#.
Anyone one if and how this is possible?
Geo-location has been used most by Websites to do redirection, but I have found that several IP addresses locate a country which has using several languages.
Meantime, some users prefer to using the language setup in their system. For example, a person from United States goes to Japan and using the Internet connection from there to surf Website, but the Website redirects him to Japanese language.
So, should I give the web user a choice to select the language detected on their browser or force them to the website detected by IP address?
Using ASP.net, what methods can I use to do the following:
Open up a connection to a given URL to read HTML content
Parse the given URL for hyperlinks, and place them in an array
Loop through each hyperlink (only 1 level down), opening each one, saving the HTML contents in a table, and move to the next hyperlink until done.
If ASP.net is not up to the task, other languages or free scripts/toolkits would be acceptable.
Thanks.
That is detect when the user makes web part changes and selects to exit editing the page.
I want to be able to capture a page event, then create a SharePoint task to instruct a user to translate that page to another language (note that MOSS and variations is not an option because the client wants to use the free version of SharePoint). So the customer wants essentially the same WSS site in multiple languages.
This is a very newbie question.
I want to know how to create a WEB APP to make Call ( using VOIP protocoll I think ).
What program languages do I have to learn ( client and server side ) ?
I've seen binary and hex used quite often but never octal. Yet octal has it's own convention for being used in some languages (ie, a leading 0 indicating octal base). When is octal used? What are some typical situations when one would use octal or octal would be easier to reason about? Or is it merely a matter of taste?
In some languages where you cannot override the () operator, I have seen methods with a single underscore, usually for 'helper' classes. Something likes this:
class D10
{
public function _()
{
return rand(1,10);
}
}
Is it better to have the function called Roll()? Is a underscore fine? After all, there is only one function, and it removes the need to look up the name of the class.
Any thoughts?
I have a table which contains data in different languages. All fields are nvarchar(max).
I created a stored procedure which trim values of all the fields
Create Proc [dbo].[TrimValues]
as
update testdata
set city = dbo.trim(city),
state = dbo.trim(state),
country = dbo.trim(country),
schoolname = dbo.trim(schoolname)
after trim all non-english text become ?????
Perl, Ruby, Python, Javascript / ecmascript, PHP are all similar in the sense of being open source, open documentation, multi-platform, etc.
Perl has http://www.perl.org
Ruby has http://www.ruby-lang.org
Python has http://www.python.org
PHP has http://php.net
Is there a "home" for javascript in the same sense as these other languages?
When I say "home" I mean the go-to place for official documentation, specifications, source code of the language, examples, etc.
What is better for PHP developers - Unicode or UTF-8?
I am going to create an international CMS. So I am going to have clients all over the world. They will speak all possible languages.
What encoding format is better for browser recognition and for DB data storage?
I remember coming across a website where I could type in some code and it would compile and run it (or error out), displaying any console output. It accepted a variety of interpreted and non-interpreted languages — I specifically remember that I could use C (maybe Python too... I'm not completely sure).
Does anyone know what site I'm talking about?
How can you speed up the display of WinForms in C#?
I am finding that forms are being painted quite slowly, even if the window is being 'reactivated' (ie. switched to) after having been already loaded.
Other languages seem to be render forms a lot quicker.
Is there a way to speed things up? Using C# in VS2005.
What are possibles designs for implementation of the DCI (data, contexts, interactions) architecture in different OOP languages? I thought of Policy based design (Andrei Alexandrescu) for C++, DI and AOP for Java. However, I also thought about using State design pattern for representing roles and some sort of Template method for the interactions... What are the other possibilities?
This is a very newbie question.
I want to know how to create a WEB APP to make Call ( using VOIP protocoll I think ).
What program languages do I have to learn ( client and server side ) ?