language

Why are List and String identifiers named "xs" (in Scala and other languages)?

A lot of sample Scala code contains Strings and Collections named "xs" Why xs? Anything to do with the xs: used in XML (for Schema?) Examples: var xs = List(1,2,3) val xs = "abc" ...

If a language (L) is recognized by an n-state NFA, can it also be recognized by a DFA with no more than 2^n states?

I'm thinking so, because the upper bound would be the 2^n, and given that these are both finite machines, the intersection for both the n-state NFA and the DFA with 2^n or less states will be valid. Am I wrong here? ...

Google Go : declare / initialize

I'm currently playing with Google Go. There's a lot of ways to declare and/or initialize variables. Can someone explains pros/cons of each way (samples, as far as i know, below) : var strArr0 *[10]string = new([10]string) var strArr1 = new([10]string) var strArr2 = make([]string,10) var strArr3 [10]string strArr4...

System for language versioning of .NET sites or Apps

Many years ago I build a simple system for handling languageversioning of texts in ASP.classic sites. Since then I have not converted or maintained it, and have been using various sub-optimal solutions (and lets face it, the system was probably not as great as I remember it ;-) What do you use for language versioning texts for your site...

What is a templating language?

I was reading somewhere that PHP is a templating language. What is exactly a templating language? What makes PHP one? What are the other templating languages? ...

How does the OS language represented in Linux

My Application is running in Linux. it would be localized. how can I get the OS Language? is it represented in Linux? as a numeric values? ...

Network Service Exception

Hi all, I want to describe DHCP failing in a network. What would you call it? Marns Magnusson has developed the 'Network Service Exception'? ...

WPF - implementing multilanguages applications - binding problem

Hi I have to add support for other languages in my application. Almost entire application is ready however I have a problem with translating a tooltip which is 'loaded' from resourcesDictioanry file. For couple element in my application I have the same tooltip. So instead of writting the same code over and over again I decied to put a to...

In what language was developed Adobe CS

I want to know this, I believe is C++ & Windows .. but what you know? ...

how do I change the default font for different languages in Safari on a Mac?

Hi, how do I change the default font for different languages in Safari on a Mac? Unlike Firefox, where you can specify the default sans-serif, serif, and monospace fonts for each language, in Safari you can only set the non-monospace and monospace fonts and it would be the same for all languages. Is there a way to modify this behavior? ...