The Apache httpd web server (a.k.a. "The Apache Server") is essentially a file (web page) server, written for fast performance in C, very reliable, and VERY widely used.
The Apache Tomcat web server (a.k.a. "Tomcat") is essentially a web application container that runs using web protocols. It's wri ....
My web log files, with careful analysis, tell me what search terms brought people to our pages. But what I would really like is to find commonly searched terms which should bring people to us, but do not ... so that I can optimise the site for them. And of course there's nothing in the log files t ....
If you want to hold a number of objects in a single composite object, you call it a collection. The Java language itself (without any additional classes) supports arrays, which can hold primitives or objects (example). The java.util package adds a whole further series of classes which can be used to ....
I'm a great believer in coding standards. In well commented code. In a good choice of variable names, of code re-use, and of thinking before you write. There are points which I stress on every course, even if the majority of the time I spend is on the actual language. So I should not have been ....
When you are uploading a file to a server via http (in Perl or PHP), where is the file saved, and what is it called? And when you download a file, where is it saved on your local disc, and what name is it given? These are not unusual questions, but it can be hard to find the answer, as I was remi ....
On 30th July, nearly 5300 people arrived at source code examples on our web site from Google searches, from 4000 unique IP addresses.
How do I know that? From analysing our log files:
-bash-3.2$ grep 'GET \/resources\/ex\.php.*\.google\.' ac_20090730 | grep -v Googlebot | wc
5382 129055 18 ....
In answer to the question "how would you generate graphics from Lua?" ... I would (personally) look at a binding to the gd library - http://luaforge.net/projects/lua-gd/ - as this is an excellent library, under the MIT license so there's no issue with ongoing licensing being different to Lua's.
Th ....
I'm always happy to be able to make multiple use of the same piece of work, and so it is with an example written last week.
READ THIS SIDE ... if you are a Lua or game programmer
I was asked to provide an exercise during the Lua course that related to game playing - where a series of elements (o ....
Written on last night's long flight ... posted today
Talking with Gisela, seated next to me on this Mexicana flight, I have learned why my Risottos are always sticky. Basically, wrong ingredients and wrong cooker method!
Here's her recipe, from Buenos Aires via Mexico City ...
Take some carnaroli ....
One hundred and ninety nine years ago, the Mexicans threw out the Spanish in the war of independence. Ninety nine years ago, the Mexican Civil war deposed a dictator in favour of democracy. And so next year there's going to be the most enormous of celebrations; parts of that involve computer genera ....