Asp.Net, PHP, JSP What other popular languages for HTML pages generation are there?
Asp.net, php, jsp What other popular (used alot in production) languages for HTML pages generation are there? ...
Asp.net, php, jsp What other popular (used alot in production) languages for HTML pages generation are there? ...
Possible Duplicate: Open file in ML(SMLNJ) I have a string value which has value like this: "[(1,2,3),(2,3),(6,8)]" -> string but I want to have these values in int type like this: [(1,2,3),(2,3),(6,8)] -> (int list) list what should I do?is there any function which can help me? or I have to do it myself? ...
in the example: #include <stdio.h> main() { long nc; nc = 0; while (getchar() != EOF) ++nc; printf("%ld\n", nc); } I don't quite understand it. putchar() would put the character out, but why is it that after EOF it puts all the characters out, and where is it remembering all these characters? Thanks. ...
I was wondering if there were any files in which I could set the -std=c99 flag, so that I would not have to set it for every compilation. I am using GCC 4.4 on Ubuntu. ...
how do I know if a remote user is connected in django?, like gmail chat, or facebook chat... I need that in the templates system. Sorry for my english ...
Not so long ago Google came out with this new programming language, which was said to be fast as C and intuitive and simple as python. I will not judge this assertions, but instead ask you: What do you think are Go's advantages and disadvantages? Can you tell us about a real use you have given to this programming language? Thanks! Man...
Out of curiosity, is there a (language independent*) way to make these two generic statements into one statement? if (a < b) a += x; else if (a > b) a -= x; May also be used as if (abs(b - a) < x) a = b; else if (a < b) a += x; else if (a > b) a -= x; Oh, now that I'm writing this I'm thinking of something like this: if (a != b) a...
Have you actually "tried" (means programmed in, not just read an article on it) Erlang and decided against it for a project? If so, why? Also, if you have opted to go back to your old language, or to use another functional language like F#, Haskell, Clojure, Scala, or something else then this counts too, and state why. ...
I'm doing a bit more statistical analysis on some things lately, and I'm curious if there are any programming languages that are particularly good for this purpose. I know about R, but I'd kind of prefer something a bit more general-purpose (or is R pretty general-purpose?). What suggestions do you guys have? Are there any languages o...
Possible Duplicate: Whats so great about Lisp? What is it that makes Lisp so special? Why is it repeatedly held up as an example of what a programming language should be? I've got a pretty deep CS background here, if you need to get technical, by all means do so. Still, I think what I'm asking is how does working with Lis...
We are looking for a good way to produce documents for print like the one below, which have content in them that is shared with other pages (the scanned document below is one page in a 102-page booklet). For example, the "Desired Outcome(s)" section is restated on several other pages. When we want to tweak or add to it, we currently have...
Hi! I have problems with this program. The idea is to read strings from text file and include them in 2D dynamic array with constant number of columns and varying number of rows. If the initial number of rows is not enough to include all strings the memory block for the array has to be reallocated. The code is compiling OK but the execut...
I'm learning C right now and there is a conversion specifier %a which writes a number in p-notation as opposed to %e which writes something in e-notation (exponential notation). What is p-notation? ...
I came from a C-Java-C# world... where the parentheses were VIP citizens and types were loved by everyone : ) Sometimes I need to develop some piece of code to automatize a repetitive task, convert some complex frame, order an input file, send programatic request to a server... you know what I mean? But sometimes I wonder how easier c...
I want to find out the process path of a service from a user session process. Basically I'm doing: pid = pid of service process CreateToolhelp32Snapshot( TH32CS_SNAPMODULE, pid ) I get access denied when calling the above API. Is there other way to get the service process path given its PID bypassing the security check from a user ses...
I'm reading 'Functional Programming' by Tomas Petricek & Jon Skeet and I understand the difference between declarative & imperative programming. What I was wondering is how are the primitive operators & functions implemented, are declarative languages constructed from imperative operators & functions. Cheers AWC ...
Hi, I want to create desktop application for GPS tracking system. I would like to know which programming is the best to go for? Here is the scenario: GPS device will transimit the location to the host computer. Host computer will receieve the transmitted data and display it on Desktop application which is going to be GPS tracking sy...
To check against null we generally do if (object == null). Instead, would it be nicer to have if (object is null) { // Do something } Or if (object is not null) { // Do something } It would be more intuitive, i.e. reads more like english. EDIT : I got lot of answers. Thanks for the people who up voted, although down votes w...
It seems that it would be wise to use def, fn, or fun for function definitions similar to Ruby or other succinct languages. Now that it's too late to change things due to potential compatibility issues, the whole world is forced to suffer using that wasteful long name 'function' everywhere in JavaScript code. ...
I've seen a few question regarding stackoverflow users' favorite esoteric (or not) programming languages. There are also questions regarding the implementation of languages. However, I was curious to see if any of you have actually written your own programming language (be it esoteric or not) and I also wanted to know what it looks like....