language

What languages to write windows shell extensions

I know how to write shell extesions in python. The drawbacks are it does not work on 64 bit Windows I am unsure how creating a python process everytime something “happens” reduces performance. I know how to write shell extensions using .Net (C#) The drawbacks are discouraged by MS I am unsure how this reduces performance. (does it?...

Looking for strong/explicit-typed language without GIL

Are there any languages which feature static type checking like in C++ with modern syntax like in Python, and does not have GIL? I belive, Python 3 with ability to explicitly declare type of each variable would be 'almost there', but GIL makes me sad. Java is nice, but I need something more 'embedable' without bulky JRE. Update: Anyth...

VB.NET weak-typed? strong-typed?

Hi all, I used C# before. However, after I joined in a new company, I need to write vb.net. However I find very difficult to write it. Because I found that vb.net is not strong-typed. It is really not strong-typed? Or any settings for that? Here are examples. If (Me.Check1() And Me.Check2()) Then From my C# knowledge, once Me.Check1(...

C compiler's language

Hi, I just want to know the language in which the C compiler was written. Please say something other than C. ...

change xmlns too when changing charset?

Should I alter the xmlns into 'el' from 'en' when setting up a webpage in ISO-8859-7 (Greek)? So it woulb be: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="el" lang="el"> ...

How to start learning AJAX ?

AJAX - Asynchronous JavaScript And XML What does it include ? html, javascript, XML, jQuery ........... What is the way to start learning AJAX ? Is it basic from html & javaScript ? or on the basis of the language platform ? ...

What are the pros and cons of XML and JSON?

We're an XML shop (we use both XMPP and RSS/Atom feeds a lot, so I guess we have a little or no choice). Yet, I keep hearing about people who "hate" XML and sometimes refuse to use APIs who can only return XML in favor of JSON. It looks like many many prefer JSON to it, but I'm still not so sure why. Of course, JSON is so much more ligh...

Which is faster: a "radix tree" or a "b-tree"

For processing language, as in regular dictionary words, which would be faster at reading, a radix tree, or a regular b-tree? Is there a faster method, such as a dictionary with buckets & hashing? ...

C Queue programming problem.

I'm learning queues from a book. The author explains the operation of inserting an element in queue using the following code. #define MAX 100 char *p[MAX]; int spos = 0; // spos: holds the index of the **next free** storage location int rpos = 0;// rpos: holds the index of the next item to retrieve void qstore(char *q) { if(spos==MA...

Which language should I learn next? I want to expand my knowledgebase to become a better programmer

At the moment I know of Python, C and Java. I'd say my knowledge of Python is intermediate, I have written a web-bot that functions reasonably well (my old 'large' program to date) and I've been using the language for about 2 months. I have solved the first 20 or so project euler problems using Python aswell. The only thing I'm not comfo...

Designing a Non-Specific Language Application, e.g. planning for localization

Made this community wiki :3 I'm developing a basic RPG, and one of my goals from the beginning is to make sure that my program is language non-specific. Basically, before I design or start programming any menus, I want to make sure that I can load and display them out of supported languages so I am not hard-coding in values. (It would...

Android TTS Languages

I am playing with the Android TTS engine. I am trying to set it to speak in Spanish from Mexico, rather than from Spain. I have tried several combination's of language code / country code but I have not been able to get anything by Spanish from Spain. Here is my code currently loc = new Locale("es", "MEX"); myTts.setLanguage(loc); say(...

How to Write a Scripting Language using C?

How to Write a Scripting Language using C? Any Idea? Links? ...

How to detect language in JavaScript?

I know that in Wordpress we can do the following: preg_match("/\p{Arabic}/u", get_the_title()) How can we do this in JavaScript? Thanks in advance. ...

Android Custom TTS Language

For an Android application I want to have TTS functionality, but with a my own custom TTS language, ie, the TTS Language won't necessarily correspond to a pre-existing Locale. (for illustration purposes, lets say my app needs to speak Orcish). How do you make your own TTS Language for Android? I believe it is possible, as there are seve...

Detect the current keyboard language / layout in IOS / iPhone using JavaScript, i.e.

Hi! I want to detect the language of the virtual keyboard of a user visiting my WebApp and set some stuff accordingly. I have found an Objective-C solution, but I need it in JavaScript. Thanks! ...

How to change language of visual web developer 2010 express from german to english

Because all error messages are in german and google doesnt help me to find solutions for german error messages I want to change the language of visual web developer to english. This shouldnt be too hard, but I just cant find a way to configurate the language. Google didnt help me either. I would very much appreciate some help. ...

How can I inspect an objective c object?

In ruby, I can .inspect from an object to know the details. How can I do the similar thing in objective c? Thank you. ...

How to convert an pointer to become a object?

I using something like this : [tmpArray insertObject:something[i] atIndex:i]; But I got a MSG : passing argument 1 of "insertObject:atIndex:" makes pointer from integer without a cast. What should I do to fix it? ...

How can I change a site's default language after creation (sharepoint 2010)?

after creating a site you can go to: Site Actions / Site Settings / Site Administration / Language Settings and select some alternate language(s) if you've got some language pack(s) installed, but the default one is fix and you can't cange it anymore. Is there a way or some settings.file where you can change the default language? ...