language

Appropriate article (a/an) in String.Format

I'm looking for a culturally-sensitive way to properly insert a noun into a sentence while using the appropriate article (a/an). It could use String.Format, or possibly something else if the appropriate way to do this exists elsewhere. For example: Base Sentence: "You are looking at a/an {0}" This should format to: "You are looking at...

Best language tooling

I was listening to a podcast recently (may have been SO - can't remember) when the interviewee said that one of the reasons Java was so successful and popular was the tooling. Having use of great FOSS editors such as Eclipse, NetBeans. Metrics tools such as Cobertura, Find Bugs, Build tools such as Maven and ANT.. I'd have to agree I'v...

Which languages have been implemented on the Common Language Runtime?

Does anyone know of a comprehensive list of languages that target the .NET Common Language Runtime? I'm interested specifically in Windows implementations but if there is a list that includes CLI languages on other platforms (Mono, etc) then that's helpful, too. I just can't seem to uncover this information in Google. ...

Assembly Language Primer video tutorials?

I've seen a lot of text based Assembly tutorials but finding it tough to learn from them. What video tutorials exist for Assembly Language? ...

how to change the input source (language) in java (instead of using Shift+alt)?

I am writing an application to remap some of the keyboard keys. I want to add a button so that if the user clicks on it, the input source will change to the next input in the OS. I am using it to input source arabic and english. What should I use, and is it possible to do that in java? ...

What are techniques and practices on measuring data quality?

If I have a large set of data that describes physical 'things', how could I go about measuring how well that data fits the 'things' that it is supposed to represent? An example would be if I have a crate holding 12 widgets, and I know each widget weighs 1 lb, there should be some data quality 'check' making sure the case weighs 13 lbs m...

what's a good language for learning machine learning?

I've been thrust into a situation where I need to know something about Machine Learning. Is there a language or perhaps a reasonable tutorial that breaks this subject matter in gently? I'm not a math guy, so it's got to start from a pretty basic level. ...

Python Lambda - why?

I'm just beginning Python and ran head first into Lambda- which took me a while to figure out. Is lambda one of those 'interesting' language items that in real life should be forgotten? I'm sure there are some edge cases where it might be needed, but given the obscurity of it, the potential of it being redefined in future releases (my a...

python factory functions compared to class

Just working through learning python and started to look at nested/factory functions (simple example): def maker(N): def action(X): return X * N return action Are there any advantages of factory functions over creating a class? performance? memory? clean up? ...

Dari Language Package

A Dari language pack is available in Vista. I need the same language for 2003. I need this only for website development, i.e., only letters and numbers are required. How would I get the Dari language pack for 2003? ...

What are the difference between Java, C++ and ActionScript3.0 in regards to OOP?

In a pure programming context (such as structural & OOP), what are the main differences that you find (or must be careful not to be confuse) between Java/C++ and ActionScript? Any other notable or important differences are also welcome. ...

In terms of programming, what do semantics mean?

This is a sentence from Eric Lippert's blog: Given that unfortunate situation, it makes sense to emphasize the storage mechanism first, and then the semantics second. It's easy to get a dictionary definition of what "semantic" means but what does it mean in terms of computer jargon? ...

Passing "-J-Duser.language" into javac through ant to ensure compilation errors are reported in the correct language

My PC is currently set up as Japanese for testing purposes. If my java project has a compilation error the message is reported in Japanese. e.g. Compiling 1 source file to [...directory...] [...class...].java:172: シンボルを見つけられません。 I would prefer to see the errors in english. Without using ant the fix for this is to use javac -J-Du...

MessageBox buttons - set language?

When you use MessageBox.Show() you have a selection of MessageBoxButtons to choose from. The buttons available are an enum, and give you options like "Yes No", "OK Cancel" etc. When I am using f.instance Norwegian messagetext the user still gets english "Yes No". Is there a way to change the text of the buttons (in C#) so that the lang...

How do you make a language binding?

Although I do more or less understand what a language binding is, I am struggling to understand how they work. Could anyone explain how do you make a Java binding for WinAPI, for example? ...

Python Generator - what not to use it for

Just looking at Python generators, real impressed with them, but are there any things not to use them for? I was thinking of past C coding where reading from a file, or user actions would be areas. For example, could the generator be used to prompt the user for input (base data entry?) and the calling function process that input? are t...

How to add an extra language input to Android?

Is it possible to add extra languages to Android? My current Android phone only supports English and Chinese language input. I would like to have Dutch also, as I can use it for word completion. The question on top of that is, how to switch easily between these languages in the text input (keyboard) GUI? ...

Wordpress and RTL

WordPress is so powerful.. but yet it is so weak with RTL Languages like Arabic and Hebrew... I need to have the Front-End in Arabic and Admin area to stay in English and of course LTR.. If I use the Arabic version of wordpress.. Every thing including admin area will be in Arabic and RTL.. which will not be suitable at all.. In the same ...

Variable initialising and constructors

I am currently taking a c++ course and trying to get a deep understanding of the whole thing. I came up with some theories, it would be great if somebody could confirm them: Every variable (local,global,staic,member and non-member) is guaranteed to have its ctor called before first use The ctors of primitives like int are essentially n...

Which language would you use in your OS?

This is probably more of a subjective question, but which language (not API like .NET or JDK) would you use should you write your own operating system? Which language provides flexibility, simplicity, and possibly a low-level interface to the hardware? I was thinking Java or C... ...